KeysBoundTo.CommandParameter Property
Word Developer Reference |
Returns the command parameter assigned to the specified shortcut key. Read-only String.
Syntax
expression.CommandParameter
expression A variable that represents a KeysBoundTo object.
Remarks
For information about commands that take parameters, see the Add method. Use the Command property to return the command name assigned to the specified shortcut key.
Example
This example assigns a shortcut key to the FontSize command, with a command parameter of 8. Use the CommandParameter property to display the command parameter along with the command name and key string.
Visual Basic for Applications |
---|
|
See Also