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 / October 2006

Tip: Looking for answers? Try searching our database.

Problem running macro on Master Document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian - 06 Oct 2006 15:39 GMT
I have written my first macro to update documents with the styles, text and
header and footer information. The last part of the macro update all fields.
This works well on the single source documents. The larger manuals are master
documents with many chapters included.

All documents are generated from Robohelp printed output. Running the macro
on the large documents, when completed the TOC seems to have been deleted,
and results in problems with the headers and footers. Is this to do with the
subdocuments updating the master on the last command or am I having a senior
moment?

Any advice would be appreciated

Signature

Brian McCaffery

Jonathan West - 06 Oct 2006 18:33 GMT
>I have written my first macro to update documents with the styles, text and
> header and footer information. The last part of the macro update all
[quoted text clipped - 11 lines]
> senior
> moment?

You won't like this, but the best advice I can give in the circumstances is
don't use Master Documents. Here's why

Why Master Documents corrupt
http://www.word.mvps.org/FAQs/General/WhyMasterDocsCorrupt.htm

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

Brian - 10 Oct 2006 13:39 GMT
Thanks for the info. Now to convince the others.
Signature

Brian McCaffery

> >I have written my first macro to update documents with the styles, text and
> > header and footer information. The last part of the macro update all
[quoted text clipped - 17 lines]
> Why Master Documents corrupt
> http://www.word.mvps.org/FAQs/General/WhyMasterDocsCorrupt.htm
 
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.