macro for right click

K

kalpesh

Hello

i nee a macro to restrict right click option
eg, in sheet 1 do not allow right click optio

please help me
 
D

Don Guillett

Hello,

 i nee a macro  to  restrict right click option.
 eg,  in sheet 1 do not allow right click option

 please help me
right click sheet tab>view code>insert this

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

Top