ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   disable custom toolbar (https://www.excelbanter.com/excel-programming/320379-disable-custom-toolbar.html)

choice[_2_]

disable custom toolbar
 
i have a custom menu toolbar (on the same toolbar as file,edit,etc)
the custom toolbar is named Choice it has about 5 submenus
is there a way to disable the toolbar Choice

thanks in advance


Rob van Gelder[_4_]

disable custom toolbar
 
From VB, run this:

CommandBars("Worksheet Menu Bar").Controls("Choice").Enabled = False

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"choice" wrote in message
...
i have a custom menu toolbar (on the same toolbar as file,edit,etc)
the custom toolbar is named Choice it has about 5 submenus
is there a way to disable the toolbar Choice

thanks in advance





All times are GMT +1. The time now is 02:00 PM.

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