Hi all i have this code below that stops the user using right click on a cell how do i modify it so that they can not use right click on a sheet tab?
Regards,
Simon
Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
ActiveWindow.DisplayHeadings = False
Cancel = True
ShortcutMenus(xlWorksheetCell).Enabled = False
MsgBox "You Can Only Use Your Left Mouse Button To Make Your Choice!", vbExclamation, "Mouse Warning"
End Sub
Bookmarks