
Saving Master and SubDocuments as HTML In Word 2002
The consensus among those offering advice on these newsgroups is that using
the Master Document feature is a sure way to destroy your document. It can
destroy parts of your document that you are not even working on! I think
John McGhie said it succinctly when he said that there are two kinds of
Master Documents: Those that are corrupt and those that will be corrupt
soon. See http://www.addbalance.com/word/masterdocuments.htm for information
on the Master Document feature and workarounds. See
http://www.mvps.org/word/FAQs/General/WhyMasterDocsCorrupt.htm for more
information on what goes wrong, and
http://www.mvps.org/word/FAQs/General/RecoverMasterDocs.htm for ideas on how
to salvage what you can.
Hope this helps.
--------- --------- --------- --------- --------- ---------
Charles Kenyon (Balance Check) from the shores of that
inland sea known as Lake Michigan.
Word New User FAQ & Web Directory:
http://www.addbalance.com/word
Microsoft Word Legal Users' Guide
http://www.addbalance.com/usersguide
Quote:
> I want to create a VBA macro that saves a modified master document and all
> its subdocuments in HTML format.
> In Word 2002 (Office XP), when you attempt to save a master document with
> sub-documents expanded in HTML format, where all parts are originally in
> .doc format, you get the following dialog:
> "Subdocument xxx will be saved in a different format. Word can save over
the
> original file, or save to a different file name. Would you like to save to
a
> new file?"
> [Yes] [Yes to All] [No] [No to All]
> If you select "Yes to All", all of the subdocuments will be saved as HTML,
> much the same as Word 2000 does by default. If you select "No to All", the
> subdocuments are saved overwriting the original .docs.
> Is there anyway in VBA to automatically save all subdocuments in HTML
format
> without this dialog appearing? Is there a Document or Application property
> that can be set, or is there any way this dialog can be controlled? If the
> dialog is suppressed via setting DisplayAlerts = wdDisplayNone, it
defaults
> to "No to All", overwriting the original docs.
> The other possible solution is to save each subdocument separately in the
> VBA macro, and then to save the master document. Is this the only
solution?
> Thank you.
> Jack Dignan
> Design Science, Inc.