ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable Right click (https://www.excelbanter.com/excel-programming/311299-disable-right-click.html)

No Name

Disable Right click
 
Hello,
How can I disable right click on the menu bar and tool
bars, so the user can not right click to customize or
activate any of the built in toolbars. Thanks in advance.



Bob Umlas

Disable Right click
 
Commandbars("Toolbar List").Enabled = False

wrote in message
...
Hello,
How can I disable right click on the menu bar and tool
bars, so the user can not right click to customize or
activate any of the built in toolbars. Thanks in advance.





No Name

Disable Right click
 
The code does not work. Thanks for your comments.


-----Original Message-----
Commandbars("Toolbar List").Enabled = False

wrote in message
...
Hello,
How can I disable right click on the menu bar and tool
bars, so the user can not right click to customize or
activate any of the built in toolbars. Thanks in

advance.




.


Tom Ogilvy

Disable Right click
 
it should work in Xl97 SR1 and later. It works for me.

--
Regards,
Tom Ogilvy

wrote in message
...
The code does not work. Thanks for your comments.


-----Original Message-----
Commandbars("Toolbar List").Enabled = False

wrote in message
...
Hello,
How can I disable right click on the menu bar and tool
bars, so the user can not right click to customize or
activate any of the built in toolbars. Thanks in

advance.




.





All times are GMT +1. The time now is 01:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com