Application.Language property (Publisher)

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

Syntax

expression.Language

expression A variable that represents an 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.

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

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.