
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
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