GetLocale Function
SyntaxGroupGetLocale
MiscellaneousDescription
Get the locale ID for the current thread. Two special values are returned depending on the current thread's locale:See Also
- &h400 - Same as the user's default locale (takes precedence over the system's default locale). (for example,. if the thread's locale is the same as the user's default locale, GetLocale returns &h400)
- &h800 - Same as the system's default locale (for example,. if the thread's locale is the same as the system's default locale, but not that same as the user's default locale, GetLocale returns &h800)
SetLocale
Sub Main SetLocale &H409 ' English, US Debug.Print Hex(GetLocale) '"409" End Sub