Results 1 to 3 of 3

Thread: Excel VBA - Japanese font

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    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

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    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

    BOFH Now, BOFH Past, Information on duplicates

    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...

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    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
  •  



Click Here to Expand Forum to Full Width