KeyBinding.KeyCode Property
Word Developer Reference |
Returns a unique number for the first key in the specified key binding. Read-only Long.
Syntax
expression.KeyCode
expression An expression that returns a KeyBinding object.
Remarks
You create this number by using the BuildKeyCode method when you are adding key bindings by using the Add method of the KeyBindings object.
Example
This example displays a message if the KeyBindings collection includes the ALT+CTRL+W key combination.
Visual Basic for Applications |
---|
|
See Also