Mouse Button Values





Listed below is a list of values that represent the different mouse buttons that are pressed during events that use mouse button as a parameter.


NameValueDescription
xlNoButton0No button was pressed.
xlPrimaryButton1The primary button (normally the left mouse button) was pressed.
xlSecondaryButton2The secondary button (normally the right mouse button) was pressed.