Application.KeyBindings Property
Word Developer Reference |
Returns a KeyBindings collection that represents customized key assignments, which include a key code, a key category, and a command.
Syntax
expression.KeyBindings
expression A variable that represents an Application object.
Example
This example assigns the CTRL+ALT+W key combination to the FileClose command. This keyboard customization is saved in the Normal template.
Visual Basic for Applications |
---|
|
This example inserts the command name and key combination string for each item in the KeyBindings collection.
Visual Basic for Applications |
---|
|
See Also