|
-
Jul 23rd, 2004, 08:51 AM
#1
Thread Starter
Fanatic Member
Excel VBA - Japanese font
Hi and thanks for reading.
I have an Excel spreadsheet that successfully displays Japanese characters. But when I try to access the text or value property of a cell with these characters in VBA, all I get is question marks returned in place of the actual characters. (e.g., if I type "? cells(1,1).text" in the immediate pane, I get ????????????? returned.)
How can I access the actual Japanese characters in VBA?
For what it's worth, languages such as French, Spanish, Dutch, etc. are handled just fine.
Thanks!
OneSource
-
Jul 26th, 2004, 05:11 AM
#2
Its probably to do with Unicode (two bytes per character instead of one).
Try looking at these functions:
AscW
ChrW
and a search for unicode conversion/help.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jul 26th, 2004, 12:18 PM
#3
Thread Starter
Fanatic Member
Thanks Ecniv ....
your response helped! 
OneSource
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|