kalpeshpatel
New Member
i nee a macro to restrict right click option.
eg, in sheet 1 do not allow right click option
please help me
eg, in sheet 1 do not allow right click option
please help me
But really: please don't. It will really just annoy everyone and make them hate you.
Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
Cancel = True
End Sub
if you want it in a specific sheet, insert this into the desired sheet module.
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
End Sub