#1   Report Post  
amy
 
Posts: n/a
Default right click

how can I ban right clicks on my pages - I dont really
want people to click wrongly on buttons. also how would I
stop the code for me to work on it though!!

Amy
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

You can use a event for this

Copy this in the Thisworkbook module

Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, _
ByVal Target As Range, Cancel As Boolean)
Cancel = True
End Sub

See Chip Pearson's site also
http://www.cpearson.com/excel/events.htm



--
Regards Ron de Bruin
http://www.rondebruin.nl



"amy" wrote in message ...
how can I ban right clicks on my pages - I dont really
want people to click wrongly on buttons. also how would I
stop the code for me to work on it though!!

Amy



  #3   Report Post  
 
Posts: n/a
Default

Thanks thats great but it doesnt stop the right clicking
on buttons!

Is there a way round that?

amy
-----Original Message-----
You can use a event for this

Copy this in the Thisworkbook module

Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As

Object, _
ByVal Target As Range, Cancel As Boolean)
Cancel = True
End Sub

See Chip Pearson's site also
http://www.cpearson.com/excel/events.htm



--
Regards Ron de Bruin
http://www.rondebruin.nl



"amy" wrote in

message ...
how can I ban right clicks on my pages - I dont

really
want people to click wrongly on buttons. also how

would I
stop the code for me to work on it though!!

Amy



.

  #4   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Protect you sheet


--
Regards Ron de Bruin
http://www.rondebruin.nl



wrote in message ...
Thanks thats great but it doesnt stop the right clicking
on buttons!

Is there a way round that?

amy
-----Original Message-----
You can use a event for this

Copy this in the Thisworkbook module

Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As

Object, _
ByVal Target As Range, Cancel As Boolean)
Cancel = True
End Sub

See Chip Pearson's site also
http://www.cpearson.com/excel/events.htm



--
Regards Ron de Bruin
http://www.rondebruin.nl



"amy" wrote in

message ...
how can I ban right clicks on my pages - I dont

really
want people to click wrongly on buttons. also how

would I
stop the code for me to work on it though!!

Amy



.



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
Want to click on 1 cell and have it hyperlinked to a highlighted c GutterPunk Excel Worksheet Functions 1 January 31st 05 05:20 AM
Change cell back color on click Dave Peterson Excel Discussion (Misc queries) 0 January 24th 05 11:50 PM
Link - deactivate being sent to source when click on linked cell? snidely Excel Worksheet Functions 1 January 11th 05 03:11 AM
Undoing LINKS in Excel 2000 jayceejay New Users to Excel 3 January 4th 05 06:58 PM
edit the buttons in right click menu jc_pace Excel Worksheet Functions 1 November 16th 04 07:51 PM


All times are GMT +1. The time now is 07:47 PM.

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

About Us

"It's about Microsoft Excel"