ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   disable Tools/Customize menu option (https://www.excelbanter.com/excel-programming/433909-disable-tools-customize-menu-option.html)

CM

disable Tools/Customize menu option
 
Hello

I need to disable the Tools/Customizze menu option and I need to know the
'ID' for this command -- and where do I find the list of those IDs?


example for disabling Tools/Options command:
Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

cm





Ron de Bruin

disable Tools/Customize menu option
 
Use the Ole's add-in

You can find the link on this page
http://www.rondebruin.nl/menuid.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"cm" wrote in message ...
Hello

I need to disable the Tools/Customizze menu option and I need to know the
'ID' for this command -- and where do I find the list of those IDs?


example for disabling Tools/Options command:
Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

cm





Spreadsheet Solutions[_3_]

disable Tools/Customize menu option
 
I thought John Walkenbach had some tool for it.

See The Spreadsheet Page


--
Regards;
Mark Rosenkrantz
--
Spreadsheet Solutions
Uithoorn
Netherlands
--
E:
W:
www.spreadsheetsolutions.nl
--
"cm" wrote in message
...
Hello

I need to disable the Tools/Customizze menu option and I need to know the
'ID' for this command -- and where do I find the list of those IDs?


example for disabling Tools/Options command:
Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

cm






CM

disable Tools/Customize menu option
 
THANK YOU THANK YOU

"Ron de Bruin" wrote:

Use the Ole's add-in

You can find the link on this page
http://www.rondebruin.nl/menuid.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"cm" wrote in message ...
Hello

I need to disable the Tools/Customizze menu option and I need to know the
'ID' for this command -- and where do I find the list of those IDs?


example for disabling Tools/Options command:
Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

cm







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

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