Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If GetAsyncKeyState(2&) Then Exit Sub ' right mouse down
End Sub
declare the API function as Public and put it in a normal module if you want
to call it from multiple modules
Regards,
Peter T
"DennisB" <Den...@discussions.microsoft.com> wrote in message
news:FBFE48CC-F999-4F6D...@microsoft.com...
I learned something new! This worked great, thank you so much.
Dennis