OlShiftState enumeration (Outlook)

Represents a bitmask to indicate which modifier key is pressed during a keyboard or mouse event of a control.

Name Value Description
olShiftStateShiftMask 1 Indicates that the SHIFT key is pressed during the event.
olShiftStateCtrlMask 2 Indicates that the CTRL key is pressed during the event.
olShiftStateAltMask 4 Indicates that the ALT key is pressed during the event.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.