XlMouseButton enumeration (Excel)

Specifies which mouse button was pressed.

Name Value Description
xlNoButton 0 No button was pressed.
xlPrimaryButton 1 The primary button (normally the left mouse button) was pressed.
xlSecondaryButton 2 The secondary button (normally the right mouse button) was pressed.

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.