Share via


LanguageSettings.LanguagePreferredForEditing Property (Office)

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

Name

Required/Optional

Data Type

Description

lid

Required

MsoLanguageID

Returns 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 Members

LanguageSettings Object