inserting subdocuments

R

raj

when inserting the subdocuments to my master document, i get the following information prompte

Message
subdocument has a different template than its master document. The master document template will be use

Message
Style 'xxx' exists in both the subdocument you are adding and the master document. Would you like to rename..

is there any way to supress thes message and set word to always use "No to All" option
 
C

Charles Kenyon

"Master Document" is a term of art in Word referring to a "feature" that not
only doesn't work but also destroys documents. The consensus (with the
limited exception of Steve Hudson) 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 <URL:
http://www.addbalance.com/word/masterdocuments.htm> for information on the
Master Document feature and workarounds. (This page also has a link to Steve
Hudson's chapter on how he gets Master Documents to work.) See <URL:
http://www.mvps.org/word/FAQs/General/WhyMasterDocsCorrupt.htm> for more
information on what goes wrong, and <URL:
http://www.mvps.org/word/FAQs/General/RecoverMasterDocs.htm> for ideas on
how to salvage what you can.




raj said:
when inserting the subdocuments to my master document, i get the following information prompted

Message1
subdocument has a different template than its master document. The master document template will be used

Message2
Style 'xxx' exists in both the subdocument you are adding and the master
document. Would you like to rename...
is there any way to supress thes message and set word to always use "No to
All" option
 
F

fhille

had this problem a while ago when I was trying to automatize building
master docs. I have been using master docs for quite a while and hardly
ever encountered problems (in contrast to many other people). I think
that consequent removal of these automatically generated section breaks
is one of the major reasons why my masters never corrupted.

I am pretty sure that you cannot suppress this message, at least until
Word 2000. If you are doing VBA to automatize inserting subdocs (just
as I tried to) there does not seem to be an elegant solution, either. I
opened a second thread with a timer control, that sends keystrokes to
the message box after a given time, thus choosing "no to all". Sucks,
but works. I can give you some code if you want.

cheers,
Frank
 
E

ellsoma

I had this problem too, solution seemed to be to set the view to Outlin
rather than Master.

i.e. ActiveDocument.ActiveWindow.View.Type = wdOutlineView

seemed to get rid of that message
 
Top