ExecuteKeyMacro Method
Searches the collection of the passed key combination, if a matching key macro object is found the script associated with that key macro object is executed.
Syntax
object.ExecuteKeyMacro (ComboKey, KeyCode)
Properties
The ExecuteKeyMacro method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
ComboKey |
enumCombinationKey. The control shift part of the key combination. |
KeyCode |
Integer. The ASCII value of the main key of the key combination. |