--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
(e-mail address removed) www.pcdatasheet.com
From my file ---
Detecting a Right Mouse Click
Private Sub cmdTest_MouseDown(Button As Integer, _
Shift As Integer, x As Single, y As Single)
If Button = 1 Then 'acLeftButton
msgbox "You pressed the left button."
End If
If Button = 2 Then 'acRightButton
msgbox "You pressed the right button."
End If
End Sub