CheckLanguage Property

Microsoft Word Visual Basic

expression.CheckLanguage

expression    Required. An expression that returns an Application object.

Remarks

If you haven't set up Word for multilingual editing, the CheckLanguage property always returns False. For more information about automatic language detection, see About automatic language detection.

Example

This example checks to see if automatic language detection has been activated.

If Application.CheckLanguage = True Then
    MsgBox "Automatic language detection is activated!"
End If