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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.