Disable rightc click

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

Guest

Hi All,

I want to disable right click in a workbook but allow the
user to make a copy of any sheet into another book. How
can I achieve these? Thanks.
 
In the sheet modules of the sheets where you don't want a right click
capability put in a BeforeRightClick event

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As
Boolean)
Cancel = True
End Sub
 

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