ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Display unicode characters in non-English windows (https://www.excelbanter.com/excel-programming/279049-display-unicode-characters-non-english-windows.html)

terence

Display unicode characters in non-English windows
 
Hi,

I have a VBA program which writes data on a sheet and save
the sheet in DBF format.
Here the nightmare comes, the program puts the
character "¥" (created by Chr(165) in VBA code), then the
program saves the file in DBF format. However, when I open
the DBF file by Excel in Chinese Windows (I suspect this
also happens in other non-English windows), the "¥" cannot
be displayed. But it can be displayed in English windows
without problems.
I am so frustrated by this problem.. Can anyone help?
Thanks a lot.

Terence

jaf

Display unicode characters in non-English windows
 
Hi Terence,
Not sure if your results will be different, but try chrw(0165).
chrw() means use Unicode.


--

John

johnf202 at hotmail dot com


"Terence" wrote in message
...
Hi,

I have a VBA program which writes data on a sheet and save
the sheet in DBF format.
Here the nightmare comes, the program puts the
character "¥" (created by Chr(165) in VBA code), then the
program saves the file in DBF format. However, when I open
the DBF file by Excel in Chinese Windows (I suspect this
also happens in other non-English windows), the "¥" cannot
be displayed. But it can be displayed in English windows
without problems.
I am so frustrated by this problem.. Can anyone help?
Thanks a lot.

Terence




All times are GMT +1. The time now is 11:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com