Hi Rinze,
> Does anybody know which way I can hide (a) toolbar(s) from the normal.dot
> when I open a document based on another template (which also has it's own
> toolbar). When I activate a document based on normal.dot, I want to see that
> toolbar again.
I'm not sure I understand the question. If you create and save a toolbar in a
particular template, it will only display in that template, or a document
based on that template. If you change a built-in Word toolbar, the changes
will only show in that template (or documents created from it).
the trick is making SURE you save the toolbar or any changes to built-in
toolbars in that particular template.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
Rinze Smit - 06 Jul 2005 06:45 GMT
Cindy,
Thanks for your answer. However... I already knew that.
The thing is as following.
We create a normal.dot for our users when they startup in our company. This
normal.dot has ONE toolbar (a toolbar to assign specific styles). This
toolbar is always visible for the user.
Now we've created a lot of other templates, which also contain a toolbar for
assigning specific styles (styles that are not part of normal.dot). So it
would be great if the user only sees the templatespecific toolbar and the
toolbar from the normal.dot disappears when such a template is opened or a
document based on such template is activated.
Or should we act as following: When a document with different styles is
activated, the toolbar from normal.dot has to 'expand' with buttons for the
new styles. If so, how do I do this.
Hope I made myself clear...
Rinze
Revalidatie Friesland
> Hi Rinze,
>
[quoted text clipped - 18 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
Cindy M -WordMVP- - 07 Jul 2005 10:20 GMT
Hi Rinze,
> Or should we act as following: When a document with different styles is
> activated, the toolbar from normal.dot has to 'expand' with buttons for the
> new styles.
You could do that, or hide the toolbar you created in Normal.dot and display
the one in this document/template. that would be the easier way to go. Just
use AutoNew and AutoOpen macros to do something like
CommandBars("name").Visible = False 'or true
Or, if the second toolbar is in addition to the one you already have, simply
display both.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)