Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all i have this code below that stops the user using right click on cell how do i modify it so that they can not use right click on a shee tab? Regards, Simon Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVa 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 Su -- Simon Lloy ----------------------------------------------------------------------- Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670 View this thread: http://www.excelforum.com/showthread.php?threadid=56505 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linked Spreadsheets - Preventing Access to Source Sheet | Excel Discussion (Misc queries) | |||
shortcut for right click on sheet bar | Excel Discussion (Misc queries) | |||
Before right click in a sheet | Excel Programming | |||
Preventing users to move object in the sheet | Excel Programming | |||
Preventing someone from unhiding a sheet | Excel Programming |