OlMouseButton Enumeration
TOC
Collapse the table of content
Expand the table of content

OlMouseButton Enumeration (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Show:
© 2016 Microsoft