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.
相关问题
- Excel sunburst chart: Some labels missing
- Error handling only works once
- Error handling only works once
- Excel formula in VBA code
- Javascript - Detect Arabic Text
相关文章
- Get column data by Column name and sheet name
- programmatically excel cells to be auto fit width
- Unregister a XLL in Excel (VBA)
- Unregister a XLL in Excel (VBA)
- How to prevent excel from truncating numbers in a
- numeric up down control in vba
- Declare a Range relative to the Active Cell with V
- Get English exception message instead of local lan
In Windows XP:
I beleve it's the same on Windows 7, the whole problem is in the non-unicode programs section set it to Arabic.
In win 10, you must change your system locale to match your language. You can find it here: 1- Press win key or click on it 2- Type region and click on it when windows finds it 3- Choose administrative tab 4- Under the language for non-unicode programs you will find "change system locale" key 5- A restart would be required
in VB Editor: - 1- click tools 2- Select Options... 3- click Editor Fofmat 4- Change font to(Courier New (Arabic)) 5- click OK now you can write in both English and Arabic I hope this will solve your problem