LangID Function

Returns a language ID from a locale ID.

LangID (LocaleID)

Parameters

LocaleID  -  (Input, expression, Required)

The locale ID whose language ID is required.

Return Value

A numeric value for the language ID.

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

LangID (System.LocaleID)

Returns the language ID for the default user locale.  

LangID (App.LocaleID)

Returns the language ID for the current 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 | AbbrevLocale function | LangID function | Locale function | SubLangID function


© 2004-2021 looksoftware. All rights reserved.