KeyBinding.Protected Property
Word Developer Reference |
True if you cannot change the specified key binding in the Customize Keyboard dialog box. Read-only Boolean.
Syntax
expression.Protected
expression An expression that returns a KeyBinding object.
Remarks
You can access the Customize Keyboard dialog box from the Tools menu; click Customize, and then click the Keyboard button.
Use the Add method of the KeyBindings object to add a key binding regardless of the protected status.
Example
This example displays the protection status for the CTRL+S key binding.
Visual Basic for Applications |
---|
|
This example displays a message if the A key binding is protected.
Visual Basic for Applications |
---|
|
See Also