ToggleKeyboard Method 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