Changes the command assigned to the specified key binding.
Syntax
expression.Rebind(KeyCategory, Command, CommandParameter)
expression Required. An expression that returns a KeyBinding object.
KeyCategory Required Long. The key category of the specified key binding. Can be one of the WdKeyCategory constants:
WdKeyCategoryAutoText
WdKeyCategoryCommand WdKeyCategoryDisable WdKeyCategoryFont WdKeyCategoryMacro |
WdKeyCategoryNil
WdKeyCategoryPrefix WdKeyCategoryStyle WdKeyCategorySymbol |
Command Required String. The name of the specified command.
CommandParameter Optional Variant. Additional text, if any, required for the command specified by Command. For information about values for this argument, see the Add method for the KeyBindings object.