I want to add a macro to a toolbar in Word that opens a
directory so that I can choose a document from that
directory. Right now, I have my quick launch tool where
it retracts when I am not using it, which is the way I
want it. On the quick launch toolbar, I have created a
shortcut that opens a directory for forms. But, I don't
want to have to retract and un-retract(?) that toolbar
everytime I need a form. I want to customize the toolbar
that is open in the document and place the forms folder on
it. Any suggestions?
Word Heretic - 30 Jun 2004 02:04 GMT
G'day "Sharon" <anonymous@discussions.microsoft.com>,
There are two popular methods:
Method 1 - Doc open events
In a global template, set up an object to monitor app events and react
on document open. It uses whatever doc properties you like to make its
decisions and, setting the customization context to that document,
make changes to the global toolbar.
Method 2 - Template based modifications
You have a global toolbar in a global template. Normal templates, that
come attached with documents, add their own buttons on this. They
generally use global code calls to do this and have a reference set to
the global template.
Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com
steve from wordheretic.com (Email replies require payment)
Sharon reckoned:
>I want to add a macro to a toolbar in Word that opens a
>directory so that I can choose a document from that
[quoted text clipped - 6 lines]
>that is open in the document and place the forms folder on
>it. Any suggestions?
Graham Mayor - 30 Jun 2004 04:34 GMT
Why don't you just add the Forms directory to the Word Places bar?
http://www.gmayor.com/customize_the_word_places_bar.htm

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> I want to add a macro to a toolbar in Word that opens a
> directory so that I can choose a document from that
[quoted text clipped - 6 lines]
> that is open in the document and place the forms folder on
> it. Any suggestions?