#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Tools Bar

Can anyone give me a code for closing all tool bars in
one go, and restoring to original state without entering
seperately one at a time?
Many thanks in advance
Julie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Tools Bar

Hi Julie

I have a example here
http://www.rondebruin.com/menuid.htm

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


"Julie" wrote in message ...
Can anyone give me a code for closing all tool bars in
one go, and restoring to original state without entering
seperately one at a time?
Many thanks in advance
Julie



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Tools Bar

Julie, you can also do it this way:

For each cBar in application.commandbars
cbar.enabled = false
Next

and to re-activate,
For each cBar in application.commandbars
cbar.enabled = true
Next

If a toolbar is not enabled, it is not visible.

Bob Flanagan
Macro Systems
Delaware, U.S. 302-234-9857
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Julie" wrote in message
...
Can anyone give me a code for closing all tool bars in
one go, and restoring to original state without entering
seperately one at a time?
Many thanks in advance
Julie



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
Tools key and add ins? Flemmac Excel Discussion (Misc queries) 1 May 18th 09 02:51 AM
HELP! Where is the Tools tab?? Donna and very frustrated. Excel Discussion (Misc queries) 2 December 29th 08 11:43 AM
PA Tools Add In betany70 Excel Discussion (Misc queries) 1 July 25th 07 04:22 PM
Tools-Options Wendy[_3_] Excel Programming 2 November 21st 03 08:23 PM
Shareware Edwin's Power Tools decompiled and became Excel PowerPlus Tools Edwin Tam (MS MVP) Excel Programming 28 November 17th 03 05:43 AM


All times are GMT +1. The time now is 04:15 PM.

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

About Us

"It's about Microsoft Excel"