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

(e-mail address removed) was telling us:
(e-mail address removed) 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
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top