Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / General MS Word Questions / October 2003

Tip: Looking for answers? Try searching our database.

Macro to remove toolbar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George M. Lutz - 05 Oct 2003 01:24 GMT
I use Word 2002.

I'd like a macro, to be part of the AutoOpen macro, that removes the
Reviewing toolbar if it exists in the opened document.  If the
Reviewing toolbar does not exist, nothing would happen.

Your help is appreciated, as always.

George Lutz
Herb Tyson [MVP] - 05 Oct 2003 02:57 GMT
Include the following in your macro:

   CommandBars("Reviewing").Visible = False

Signature

Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com

> I use Word 2002.
>
[quoted text clipped - 5 lines]
>
> George Lutz
George M. Lutz - 05 Oct 2003 16:16 GMT
Herb:

Thanks -- that worked well.

My next question is...how do I see a list of the proper names of tool
bars so that I can customize, through the use of AutoOpen, what
toolbars a particular document has.  I know I can do it through the
use of customized templates, but I'd prefer using AutoOpen.

In other words, suppose I want to get rid of the Format toolbar.  When
I adapt the command that you have shown me, how  do I know whether the
proper name is Format, formatting, etc.?

Thanks.

George Lutz

> Include the following in your macro:
>
[quoted text clipped - 9 lines]
> >
> > George Lutz
Larry - 05 Oct 2003 18:07 GMT
Right click on any toolbar and see the list of toolbars.  Those names
are the names you use in your code.  So, for the Standard toolbar, the
code would be:

CommandBars("Standard").Visible = False
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.