Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates which mouse button is pressed during a mouse event.
Name | Value | Description |
---|---|---|
olMouseButtonLeft | 1 | Indicates that the primary (left) button on a mouse is pressed during the event. |
olMouseButtonRight | 2 | Indicates that the secondary (right) button on a mouse is pressed during the event. |
olMouseButtonMiddle | 4 | Indicates that the middle button on a mouse 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.