LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Disable sheets tabs right mouse button!

Try

in your ThisWorkbook Code Module:

- - - - - - - - - - - - - - - - - - - - - - - - - -
Private Sub Workbook_Open()

Application.CommandBars("PLY").Enabled = False

End Sub

Private Sub Workbook_Activate()

Application.CommandBars("PLY").Enabled = False

End Sub

Private Sub Workbook_Deactivate()

Application.CommandBars("PLY").Enabled = True

End Sub
- - - - - - - - - - - - - - - - - - - - - - - - - -


--
Regards,
Soo Cheon Jheong
_ _
^ąŻ^
--


 
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 mouse click on a scatter graph? Engin H. Charts and Charting in Excel 3 June 30th 05 02:57 PM
moving mouse highlights cells without touching left mouse button bremboy Excel Discussion (Misc queries) 2 January 27th 05 06:19 PM
Disable the right mouse button?? Richard m Excel Programming 1 December 7th 03 03:48 AM
disable keyboard/mouse from vba for all programs? kk Excel Programming 3 October 17th 03 07:29 PM


All times are GMT +1. The time now is 06:27 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"