LanguageSettings Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns a  OWCLanguageSettings object, which contains information about the language settings in the specified Spreadsheet or Chart Workspace control.

expression.LanguageSettings

expression   Required. An expression that returns a ChartSpace or a Spreadsheet object.

Example

The following example displays the locale identifier (LCID) for the currentl language used for the user interface by Spreadsheet1.

  MsgBox Spreadsheet1.LanguageSettings.LanguageID(msoLanguageIDUI)