Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

LanguageSettings Object (Office)

Published: July 09, 2012

Returns information about the language settings in a Microsoft Office application.

Use Application.LanguageSettings.LanguageID(MsoAppLanguageID ), where MsoAppLanguageID is a constant used to return locale identifier (LCID) information to the specified application.

The following example returns the install language, user interface language, and Help language LCIDs in a message box.

MsgBox "The following locale IDs are registered " & _ 
 "for this application: Install Language - " & _ 
 Application.LanguageSettings.LanguageID(msoLanguageIDInstall) & _ 
 " User Interface Language - " & _ 
 Application.LanguageSettings.LanguageID(msoLanguageIDUI) & _ 
 " Help Language - " & _ 
 Application.LanguageSettings.LanguageID(msoLanguageIDHelp)

Use Application.LanguageSettings.LanguagePreferredForEditing to determine which LCIDs are registered as preferred editing languages for the application, as in the following example.

If Application.LanguageSettings. _ 
 LanguagePreferredForEditing(msoLanguageIDEnglishUS) Then 
 MsgBox "U.S. English is one of the chosen editing languagess." 
End If
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.