title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
KeysBoundTo.Key method (Word) |
vbawd10.chm160890881 |
|
|
efaef450-7d8d-0099-2420-07ae44c6bfa1 |
06/08/2017 |
medium |
Returns a KeyBinding object that represents the specified custom key combination.
expression.Key (KeyCode, KeyCode2)
expression A variable that represents a 'KeysBoundTo' object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
KeyCode | Required | Long | A key you specify by using one of the WdKey constants. |
KeyCode2 | Optional | Variant | A second key you specify by using one of the WdKey constants. |
KeyBinding
If the key combination doesn't exist, this method returns Nothing.
Use the BuildKeyCode method to create the KeyCode or KeyCode2 argument.
[!includeSupport and feedback]