Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Mar 2003
    Elkins Park, Pennsylvania, USA
    Thanked 0 Times in 0 Posts

    Unicode (Word XP VBA)

    I'm hoping someone can give me a technical yet easy-to-digest explanation of the way VBA functions (such as ChrW and dialogs(wdDialogInsertSymbol).charnum) present and use the numbers associated with a Unicode character. For example, what's the difference between the negative integer returned by the .charnum and Chrw properties and the positive integer that it normally goes by? I'm well under way with writing a tool to find and replace embedded symbols that are formatted in the symbol font (no problem there) with their unicode equivalent in "(normal text)." It's an XML thing. I'd just like to know why I'm using the numbers and the methods that I am, and why there are negative and positive integers, and how they differ from regular ol' ANSI codes. I seem to be writing empirically, as it were.

    Thanks in advance.
    <font face="Comic Sans MS">That's what you do in a herd; you look out for each other!</font face=comic> - Mike

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts

    Re: Unicode (Word XP VBA)

    I can't even begin to explain this, but if you look for past posts by Klaus Linke on unicode characters, you'll find some explanations and numerous useful tips.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts