我想创建一些 VBA 代码,如下所示:
fndList.Add "Beat 'em up game", "Beat 'em up"
fndList.Add "Bish?jo game", "Bish?jo"
fndList.Add "Bullet hell game", "Bullet hell"
fndList.Add "Business simulation game", "Business sim"
Run Code Online (Sandbox Code Playgroud)
但是,Excel 将第 2 行转换为“Bishojo 游戏”,没有特殊字符。我应该如何处理这些字符?谢谢。
小智 5
抱歉,感觉这个问题已经很久了。
但我仍然想提出一个解决方案:
使用unicode编码来表示不同的语言:
Sheet1.Cells(2, 1) = ChrW(&H3091)
Run Code Online (Sandbox Code Playgroud)
这是代表性格?。
附上您可以查找编码的网站:https : //unicode-table.com/en/