A
Alder
Word 2000 (9.0.6926 SP-3)
I'm trying to implement a system of three global templates for my workgroup
and have some questions on their behaviour.
Two of the templates, ZONES.dot and CLIENTS.dot, are loaded from shortcuts
in each user's Word/Startup folder which point to the actual templates in a
shared network folder. They contain autotext only.
The third template, SHARED.dot, contains a commandbar and several VBA
modules, but no autotext. Access to these VBA modules is through a
Reference set in each of several other document templates.
I would like to have the commandbar in SHARED.dot appear each time Word is
opened. So far, I've tried saving SHARED.dot with the commandbar visible
and using the following AutoExec macro stored in a standard module named
modAuto of SHARED.dot:
Sub AutoExec()
CommandBars("SharedCommandBar").Visible = True
End Sub
In both cases, the commandbar remains hidden when Word opens. When I
right-click a toolbar to view the available commandbars, the
"SharedCommandBar" does not appear. This suggests that not all AutoExec
macros execute when Word starts up. Is this true?
True or not, what is the best way to share this commandbar and make it
available to users at startup?
Thanks,
Alder
I'm trying to implement a system of three global templates for my workgroup
and have some questions on their behaviour.
Two of the templates, ZONES.dot and CLIENTS.dot, are loaded from shortcuts
in each user's Word/Startup folder which point to the actual templates in a
shared network folder. They contain autotext only.
The third template, SHARED.dot, contains a commandbar and several VBA
modules, but no autotext. Access to these VBA modules is through a
Reference set in each of several other document templates.
I would like to have the commandbar in SHARED.dot appear each time Word is
opened. So far, I've tried saving SHARED.dot with the commandbar visible
and using the following AutoExec macro stored in a standard module named
modAuto of SHARED.dot:
Sub AutoExec()
CommandBars("SharedCommandBar").Visible = True
End Sub
In both cases, the commandbar remains hidden when Word opens. When I
right-click a toolbar to view the available commandbars, the
"SharedCommandBar" does not appear. This suggests that not all AutoExec
macros execute when Word starts up. Is this true?
True or not, what is the best way to share this commandbar and make it
available to users at startup?
Thanks,
Alder