Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2005

Tip: Looking for answers? Try searching our database.

Update document when template changes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
johan@aktieguiden.com - 31 Aug 2005 13:34 GMT
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
Jean-Guy Marcil - 31 Aug 2005 17:16 GMT
johan@aktieguiden.com was telling us:
johan@aktieguiden.com nous racontait que :

> Is it possible to update a document styles, margins, header and footer
> when the document template changes?
[quoted text clipped - 6 lines]
>
> // 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.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.