expression.AutoKeyboardSwitching
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example enables automatically switching the keyboard language to the necessary language.
Sub SetGlobalOptions()
Options.AutoKeyboardSwitching = True
End Sub