LanguageSettings Property

Microsoft Excel Visual Basic

LanguageSettings Property

       

Returns the LanguageSettings object, which contains information about the language settings in Microsoft Excel. Read-only.

expression.LanguageSettings

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example returns the language identifier for the language you selected when you installed Microsoft Excel.

Set objLangSet = Application.LanguageSettings
MsgBox objLangSet.LanguageID(msoLanguageIDInstall)