how to cancel the right mouse button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I'm tryng to accomplish something with the beforerightclick method, I
want when the user press the right mouse button, the menu that normaly
appears (Cut Copy Paste .....),doesn't appears so the user isn't abble to
cut, copy, paste or change the format of the cells
TIA
 
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As
Boolean)
Cancel = True
End Sub


--
Jim
| Hi, I'm tryng to accomplish something with the beforerightclick method, I
| want when the user press the right mouse button, the menu that normaly
| appears (Cut Copy Paste .....),doesn't appears so the user isn't abble to
| cut, copy, paste or change the format of the cells
| TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top