Table of contents
Collapse the table of content
Expand the table of content

LanguageSettings Object (Office)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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


Use Application.LanguageSettings.LanguageID( MsoAppLanguageID ), whereMsoAppLanguageID 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 - " & _ 

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

See also


Object Model Reference

Other resources

LanguageSettings Object Members

© 2018 Microsoft