Application.ToggleKeyboard Method (Word)

Switches the keyboard language setting between right-to-left and left-to-right languages.

expression .ToggleKeyboard

expression Required. A variable that represents an Application object.

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
Show:
© 2014 Microsoft