Table of contents
TOC
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.

Syntax

expression. LanguagePreferredForEditing( lid )

expression A variable that represents a LanguageSettings object.

Parameters

NameRequired/OptionalData TypeDescription
lidRequiredMsoLanguageIDReturns one of the MsoLanguageID enumerations.

Remarks

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

Example

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

Concepts

LanguageSettings Object

Other resources

LanguageSettings Object Members

© 2018 Microsoft