P
pnp
Hi.
In our company our templates is somewhat depending on the feature that has
been cancelled in word 2003. That headers and footers update when you open a
document. Therefore a macro has been created and we want to use this. I would
like this macro to run as silent as possible (meaning no matter the macro
security it should still run without prompting anyone)
I have the following scenario.
A global template located on a network share. The template is placed in the
same folder as the Workgroup template locations.
Templates in the Workgroup template location
And documents referencing the above mentioned templates.
My question is now how I add code that runs this macro that updates the
header and footers.
Is it enough if i place the code in the open event of the template. Will
that cause the macro to be run when the document based on that template is
opened?
Otherwise - is there a way in my global template i can receive an event from
the application that a new document is being opened - and i can then call
this macro on that document.
Any help is appreciated.
/Anders
In our company our templates is somewhat depending on the feature that has
been cancelled in word 2003. That headers and footers update when you open a
document. Therefore a macro has been created and we want to use this. I would
like this macro to run as silent as possible (meaning no matter the macro
security it should still run without prompting anyone)
I have the following scenario.
A global template located on a network share. The template is placed in the
same folder as the Workgroup template locations.
Templates in the Workgroup template location
And documents referencing the above mentioned templates.
My question is now how I add code that runs this macro that updates the
header and footers.
Is it enough if i place the code in the open event of the template. Will
that cause the macro to be run when the document based on that template is
opened?
Otherwise - is there a way in my global template i can receive an event from
the application that a new document is being opened - and i can then call
this macro on that document.
Any help is appreciated.
/Anders