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

Concepts

Application Object

Application Object Members