Consulting

Results 1 to 9 of 9

Thread: VBA, Style names, Find-Replace Special Character Codes, and non-English versions of W

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    VBA, Style names, Find-Replace Special Character Codes, and non-English versions of W

    This post started off as a query, but I have since resolved most of the issues ... however ...

    I have a collection of macros that are being used by a friend in the Netherlands who is using the Dutch version of Word on English language documents that are set to UK English. One of these routines sets text to the 'Normal' style (but retains all font attributes). The 'Normal' style is called 'Standaard' in the Dutch version. Word was saying that it didn't recognize the style 'Normal' even though most of the document is in this style - when you look at it in an English version of Word. I think I've fixed this by using wdStyleNormal in place of "Normal". Likewise for any other built-in style names.

    There is another issue using the special characters in Find-Replace dialogues. For example, ^t for Tab is not recognized by the Dutch Word, and likewise other Dutch special characters. I have got around this by using the relevant decimal number. eg. ^9 or vbTab for tab, ^255 for non-breaking space, etc. But does anyone know how to handle ^f and ^e for endnotes and footnotes in VBA for all language versions of Word?

    Need to change the title of this thread to "VBA, Style names, Find-Replace Special Character Codes, and non-English versions of Word"
    Last edited by Paul_Hossler; 04-04-2018 at 10:45 AM. Reason: Mostly resolved the issue

Tags for this Thread

Posting Permissions

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