Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Disable rightc click

Hi All,

I want to disable right click in a workbook but allow the
user to make a copy of any sheet into another book. How
can I achieve these? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Disable rightc click

In the sheet modules of the sheets where you don't want a right click
capability put in a BeforeRightClick event

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As
Boolean)
Cancel = True
End Sub

--
Regards,
Tom Ogilvy


wrote in message
...
Hi All,

I want to disable right click in a workbook but allow the
user to make a copy of any sheet into another book. How
can I achieve these? Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable right click on mouse jatman Excel Discussion (Misc queries) 2 June 5th 08 12:15 AM
Disable Right click No Name Excel Programming 3 September 24th 04 03:27 PM
Disable Right Click In Excel Celtic_Avenger[_26_] Excel Programming 3 September 12th 04 09:48 PM
Disable right-click fredbibi49 Excel Programming 1 June 14th 04 10:44 AM
Disable right click Rich Cooper Excel Programming 2 May 14th 04 02:54 PM


All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"