#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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,
  #2   Report Post  
Posted to microsoft.public.excel.programming
bob bob is offline
external usenet poster
 
Posts: 52
Default 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,
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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,



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Toolbars Sarah at DaVita Excel Discussion (Misc queries) 1 January 23rd 08 02:43 AM
Toolbars Gibbo Excel Discussion (Misc queries) 1 November 16th 07 03:31 PM
Toolbars rob Excel Discussion (Misc queries) 2 April 10th 06 07:30 PM
Toolbars barrowhill Excel Discussion (Misc queries) 3 November 25th 05 01:51 PM
toolbars George Setting up and Configuration of Excel 2 February 8th 05 04:27 AM


All times are GMT +1. The time now is 11:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"