D
Derek Hart
When a new document is opened in Word, there is no option on a header/footer
to choose "Same As Previous" because there is no previous section. But when
the document comes into a master document, the Same As Previous option is
there by default. And this only happens if there is no header/footer in the
document. Remember, if I simply add a space to the header/footer, the
master document knows that this document has its own header/footer, and to
not bring over the previous header/footer. I have to find a way to automate
this process. When I add document to the master document:
DocMaster.Range.Subdocuments.AddFromFile
Name:=DocumentFile
I then need to go to the top of THAT document and determine if there is a
header/footer. If not, I need to add a space and make sure the option "Same
as Previous" is turned off. Let me know if you have any code samples to do
this, especially going to the top of a specific document within a master
document.
Derek Hart
to choose "Same As Previous" because there is no previous section. But when
the document comes into a master document, the Same As Previous option is
there by default. And this only happens if there is no header/footer in the
document. Remember, if I simply add a space to the header/footer, the
master document knows that this document has its own header/footer, and to
not bring over the previous header/footer. I have to find a way to automate
this process. When I add document to the master document:
DocMaster.Range.Subdocuments.AddFromFile
Name:=DocumentFile
I then need to go to the top of THAT document and determine if there is a
header/footer. If not, I need to add a space and make sure the option "Same
as Previous" is turned off. Let me know if you have any code samples to do
this, especially going to the top of a specific document within a master
document.
Derek Hart