excel VBA 代码中不显示阿拉伯字符 [英] Arabic characters don't show in excel VBA code

查看:32
本文介绍了excel VBA 代码中不显示阿拉伯字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在 Excel 的 VBA 代码中编写阿拉伯字符串,它显示为奇怪的字符.在许多装有 excel 2013 或 2010 的机器上,在 windows 8 或 windows 7 上尝试过,无论是否安装了阿拉伯文校对工具.阿拉伯语已安装在所有机器上,系统区域设置为阿拉伯语.在 Excel 工作表甚至 MS word 上输入阿拉伯字符没有问题,但在 VBA 代码中则不然.请帮忙.

I can't write arabic strings in VBA code in excel, it shows as weird characters. Tried it on many machines with excel 2013 or 2010, on windows 8 or windows 7, with or without arabic proofing tools installed. Arabic language is already installed on all machines, system locale is arabic. There's no problem typing arabic characters on excel worksheets or even MS word but not in VBA code. Please help.

推荐答案

在 VB 编辑器中:

  • 1- 单击工具
  • 2- 选择选项...
  • 3- 单击编辑器格式
  • 4- 将字体更改为 Courier New (Arabic)
  • 5- 点击确定

现在你可以用英语和阿拉伯语写作我希望这能解决您的问题

now you can write in both English and Arabic I hope this will solve your problem

这篇关于excel VBA 代码中不显示阿拉伯字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆