Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.19 KB

Word.Options.AutoKeyboardSwitching.md

File metadata and controls

51 lines (31 loc) · 1.19 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Options.AutoKeyboardSwitching property (Word)
vbawd10.chm162988431
vbawd10.chm162988431
Word.Options.AutoKeyboardSwitching
22bc427f-20fd-107e-b3c0-c1ec9866a716
06/08/2017
medium

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

[!includeSupport and feedback]