Application.ToggleKeyboard method (Word)
Switches the keyboard language setting between right-to-left and left-to-right languages.
Syntax
expression. ToggleKeyboard
expression Required. A variable that represents an Application object.
Example
This example asks the user whether to switch the keyboard language setting between right-to-left and left-to-right languages.
x = MsgBox("Switch the keyboard language setting?", vbYesNo)
If x = vbYes Then Application.ToggleKeyboard
See also
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.