AutoKeyboardSwitching Property

True if Microsoft Word automatically switches the keyboard language to match what you're typing at any given time. Read/write Boolean.

expression.AutoKeyboardSwitching

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

To use this property, you must have the CheckLanguage property set to True.

For more information on using Word with multiple languages, see Troubleshoot Multilingual Text and Automatic Language Detection .

Example

This example asks the user to choose whether or not to enable automatic keyboard switching for multilingual documents.

x = MsgBox("Enable automatic keyboard switching?", vbYesNo)
If x = vbYes Then
    Application.CheckLanguage = True
    Options.AutoKeyboardSwitching = True
    MsgBox "Automatic keyboard switching enabled!"
End If

Applies to | Options Object

See Also | CheckLanguage Property | CorrectKeyboardSetting Property | Keyboard Method