Düzenle

Aracılığıyla paylaş


Options.AutoKeyboardSwitching property (Word)

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

Syntax

expression. AutoKeyboardSwitching

expression A variable that represents an Options object.

Remarks

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

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

See also

Options Object

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.