Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Eugene, Oregon, USA
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Separators in Multi-Language Environments (VBA/Office2000/Word2000)

    Doing a wildcard search in English (either U.S. or U.K.), when you want to search for repeated occurrences for a character or a range of character, you enter the range inside curly brackets with the comma as a range delimiter (e.g., "{1,3}"). However, in French in German, the range delimiter is a semi-colon (e.g., "{1;3}").

    This brings me to two questions:
    (1) Is there an easy way to determine which range delimiter is the valid delimiter for any given Word session? (I'm assuming the range delimiter is related to the thousand's separator for each locale--if we accept this assumption is there any easy way to determine what the thousands separator is for the locate associated with a given Word session?).
    (2) If no, for #1, how do I determine what the default locale is for the current Word session?

    Thanks!

  2. #2
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Brussels, Brussel, Belgium
    Posts
    159
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Separators in Multi-Language Environments (VBA/Office2000/Word2000)

    hi Hubert,

    word 2002.

    msgbox application.International(wdListSeparator)
    msgbox application.International(wdDecimalSeparator)
    msgbox application.International(wdThousandsSeparator)

    greetings,

  3. #3
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Eugene, Oregon, USA
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Separators in Multi-Language Environments (VBA/Office2000/Word2000)

    Works in 2000 as well. Thanks Pieter!

Posting Permissions

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