Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an MsoLanguageID constant that represents the language selected for the Microsoft Word user interface.
expression.Language
expression Required. A variable that represents an Application object.
The value of this property is the same as the value returned by the following expression:
Application.LanguageSettings _
.LanguageID(msoLanguageIDUI)
This example displays a message stating whether the language selected for the Microsoft Word user interface is U.S. English.
Sub LangSetting()
If Application.Language = msoLanguageIDEnglishUS Then
MsgBox "The user interface language is U.S. English."
Else
MsgBox "The user interface language is not U.S. English."
End If
End Sub
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.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in