title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
OlkCheckBox.KeyDown event (Outlook) |
vbaol11.chm1000156 |
|
|
d8679dab-c3bf-8494-a91d-3c107596c8ce |
06/08/2017 |
medium |
Occurs when a user presses a key.
expression. KeyDown
( _KeyCode_
, _Shift_
)
expression A variable that represents an OlkCheckBox object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
KeyCode | Required | Long | The numerical value of the key pressed. |
Shift | Required | Integer | A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed. |
The state of the modifier keys (SHIFT, CTRL, or ALT) that are pressed during the KeyDown event is accessible through the Shift parameter.
[!includeSupport and feedback]