A
Alder
I've created a custom CommandBar that I want to share with my workgroup. The
CommandBar is stored in a template which all users load globally from the
LAN during Word startup. As expected, this template shows up with a tick
mark in the Templates and AddIns window. Each CommandBar button runs a
macro from a second template, named SHAREDLIBRARY.DOT, also stored on the
LAN. The macros in SHAREDLIBRARY.DOT use the Documents.Add statement to
create new documents from other templates stored on the LAN.
The SHAREDLIBRARY.DOT template is not loaded globally, but is explicitly
Referenced from the CommandBar template and the document templates. When I
start Word, the SHAREDLIBRARY.DOT template appears in the Templates and
AddIns window, but is unchecked. So far, so good. Once I click on a
CommandBar button and create a new document, the SHAREDLIBRARY.DOT is
checked in the Templates and AddIns window.
The trouble is other users receive an error from Word when they click on a
CommandBar button. The error reported is that Word cannot find the template
or that a macro security setting is blocking access. The SHAREDLIBRARY.DOT
template remains unchecked in their Templates and AddIns window. If the
user then checks the SHAREDLIBRARY.DOT in their Templates and AddIns window,
the CommandBar works as it should.
Can this be corrected?
Thanks for reading,
Alder
CommandBar is stored in a template which all users load globally from the
LAN during Word startup. As expected, this template shows up with a tick
mark in the Templates and AddIns window. Each CommandBar button runs a
macro from a second template, named SHAREDLIBRARY.DOT, also stored on the
LAN. The macros in SHAREDLIBRARY.DOT use the Documents.Add statement to
create new documents from other templates stored on the LAN.
The SHAREDLIBRARY.DOT template is not loaded globally, but is explicitly
Referenced from the CommandBar template and the document templates. When I
start Word, the SHAREDLIBRARY.DOT template appears in the Templates and
AddIns window, but is unchecked. So far, so good. Once I click on a
CommandBar button and create a new document, the SHAREDLIBRARY.DOT is
checked in the Templates and AddIns window.
The trouble is other users receive an error from Word when they click on a
CommandBar button. The error reported is that Word cannot find the template
or that a macro security setting is blocking access. The SHAREDLIBRARY.DOT
template remains unchecked in their Templates and AddIns window. If the
user then checks the SHAREDLIBRARY.DOT in their Templates and AddIns window,
the CommandBar works as it should.
Can this be corrected?
Thanks for reading,
Alder