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

LanguageSettings.LanguagePreferredForEditing Property (Office)

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

Gets True if the value for the MsoLanguageID constant has been identified in the Windows registry as a preferred language for editing. Read-only.


expression. LanguagePreferredForEditing( lid )

expression A variable that represents a LanguageSettings object.


NameRequired/OptionalData TypeDescription
lidRequiredMsoLanguageIDReturns one of the MsoLanguageID enumerations.


You must test all valid msoLanguageID values to enumerate the set of preferred languages.


This example displays a message if U.S. English is a preferred editing language.

If Application.LanguageSettings. _ 
 LanguagePreferredForEditing(msoLanguageIDEnglishUS) Then 
 MsgBox "One of the preferred editing languages is US English." 
End If

See also


LanguageSettings Object

Other resources

LanguageSettings Object Members

© 2018 Microsoft