![]() |
toolbars
hi,
how can i delete all toolbars and menus from my workbooks when i start a certain excel application? the objective is to the end user work only with the controls that i've created. thanks, |
toolbars
application.commandbars.item("Standard").visible = false
application.commandbars.item("formatting").visible = false These are the standard toolbars. If you want to hide them all: for x = 1 to applicaiton.commandbars.count application.commandbars.item(x).visible = false next x -----Original Message----- hi, how can i delete all toolbars and menus from my workbooks when i start a certain excel application? the objective is to the end user work only with the controls that i've created. thanks, . |
toolbars
Hi devnext
Dim bar As CommandBar For Each bar In Application.CommandBars bar.Enabled = False Next Set it to True to get them back -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "devnext" wrote in message ... hi, how can i delete all toolbars and menus from my workbooks when i start a certain excel application? the objective is to the end user work only with the controls that i've created. thanks, |
All times are GMT +1. The time now is 11:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com