Update document when template changes

J

johan

Is it possible to update a document styles, margins, header and footer
when the document template changes?

Let's say that I'ven created a document based on Template X. Later, the
Print Margin changes in Template X. Can I automaticly update the print
margins in all documents based on Template X?

Thanks!

// Johan
 
J

Jean-Guy Marcil

[email protected] was telling us:
[email protected] nous racontait que :
Is it possible to update a document styles, margins, header and footer
when the document template changes?

Let's say that I'ven created a document based on Template X. Later,
the Print Margin changes in Template X. Can I automaticly update the
print margins in all documents based on Template X?

Thanks!

// Johan

You will need code that will run when a document is opened that will update
the document' margins based on the value obtained from the template. I have
not done it, but I am sure it can be done.

Just by putting the code in the Document_Open Sub in the ThisDocument module
will mean that the code will be executed whenever a document based on the
template is opened.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
Top