U uglydennise Feb 15, 2007 #1 I want to hide or disable the pop up menu that appears everytime i right click a worksheet tab. is this possible?
I want to hide or disable the pop up menu that appears everytime i right click a worksheet tab. is this possible?
G Guest Feb 19, 2007 #2 Yes, but you must add VBA to your workbook. Specifically, you need to add the BeforeRightClick event: You can put this into the module of the sheet where you want to disable right-click: Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean) Cancel = True End Sub Or you can add the following code to the thisWorkbook module: Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean) Cancel = True End Sub
Yes, but you must add VBA to your workbook. Specifically, you need to add the BeforeRightClick event: You can put this into the module of the sheet where you want to disable right-click: Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean) Cancel = True End Sub Or you can add the following code to the thisWorkbook module: Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean) Cancel = True End Sub