Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Application.Language Property

Office 2007
Returns a Long that represents the language selected for the Microsoft Office Publisher user interface. Read-only.

Syntax

expression.Language

expression   A variable that represents a Application object.

Return Value
Long

Remarks

The LanguageID property value can be one of the MsoLanguageID constants declared in the Microsoft Office type library.

Example

This example displays a message stating whether the language selected for the Publisher user interface is U.S. English.

Visual Basic for Applications
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



Community Additions

ADD
Show:
© 2015 Microsoft