KeysBoundTo Property

See Also         Example         Applies To

Returns a KeysBoundTo object that represents all the key combinations assigned to the specified item. Read-only.

Syntax

expression.KeysBoundTo(KeyCategory, Command, CommandParameter)

expression   Optional. An expression that returns an Application object.

KeyCategory   Required Long. The category of the key combination. Can be one of the following WdKeyCategory constants: wdKeyCategoryAutoText, wdKeyCategoryCommand, wdKeyCategoryFont, wdKeyCategoryMacro, wdKeyCategoryStyle, or wdKeyCategorySymbol.

Command   Required String. The name of the command.

CommandParameter   Optional Variant. Additional text, if any, required for the command specified by Command. For more information, see the "Remarks" section in Add Method (KeyBindings Object).