Object: KeyBinding Object
Access: Read-Only
Returns the menu command or key-in command associated with the keybinding object.
KeyBinding.Command
None.
A string that represents the menu command or key-in command.
' With BindingTables object defined
' Assign shortcut keys Alt+F1 to Help->Contents->Automation
docBindingTables.AddKeyBinding "Alt+F1","Help->Contents->Automation",0,1
' With KeyBindings object defined
' Command property will return "Help->Contents->Automation"
MsgBox docKeyBindings.Item(1).Command