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

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Separators in Multi-Language Environments (VBA/Office2000/Word2000)

    Author
    Topic
    #384390

    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!

    Viewing 0 reply threads
    Author
    Replies
    • #659261

      hi Hubert,

      word 2002.

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

      greetings,

    Viewing 0 reply threads
    Reply To: Separators in Multi-Language Environments (VBA/Office2000/Word2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: