AbbrevLocale Function

Returns an abbreviated locale name from a locale ID.

AbbrevLocale (LocaleID)

Parameters

LocaleID  -  (Required)

The locale ID whose abbreviated locale name is required.

Return Value -

A string abbreviation of the Locale ID.

Note

The locale, language, and sub-language IDs vary between different versions of Windows. Refer to the Microsoft SDK documentation for a complete list of locale and language IDs, or go to:

http://msdn.microsoft.com/en-us/goglobal/bb964664

Examples

AbbrevLocale (System.LocaleID)

Returns "ENU" for an English (United States) system. 

AbbrevLocale (App.LocaleID)

Returns "FRA" for a French (standard) connection.

TIP:

Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.

See Also

Functions | LangID function | Locale function | SubLangID function


© 2004-2021 looksoftware. All rights reserved.