ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Hiding tools/options (https://www.excelbanter.com/excel-worksheet-functions/100969-hiding-tools-options.html)

gfkbob

Hiding tools/options
 
Is there a way to hide the menu item tools/options from end users?

Ron de Bruin

Hiding tools/options
 
Run this in the workbook activate and in the deactivate set it to True

Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

See also
http://www.rondebruin.nl/menuid.htm

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



"gfkbob" wrote in message ...
Is there a way to hide the menu item tools/options from end users?





All times are GMT +1. The time now is 04:40 AM.

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