D
Derek Hart
I am building a Master Document in code. I know all the problems with
Master Documents, but I am using it very temporarily in VBA to put together
long documents. I have one interesting issue, and I wonder if anybody can
shed some light on the topic.
If there is no header or footer in a document, then the previous header or
footer will copy over into the document without a header or footer. If I go
to the source document and simply place a blank space in the header or
footer, assuring that a header or footer exists, then this problem does not
happen. I wonder if I should code this somehow, to add a space to the
header or footer if one does not exist, or just train the document builders
to make sure that a header or footer exists in page 1. It looks like I only
have to worry about this in page 1, because if a blank space exists in page
1, then the rest of the document seems to be OK. Any thoughts on this?
Thanks,
Derek Hart
Master Documents, but I am using it very temporarily in VBA to put together
long documents. I have one interesting issue, and I wonder if anybody can
shed some light on the topic.
If there is no header or footer in a document, then the previous header or
footer will copy over into the document without a header or footer. If I go
to the source document and simply place a blank space in the header or
footer, assuring that a header or footer exists, then this problem does not
happen. I wonder if I should code this somehow, to add a space to the
header or footer if one does not exist, or just train the document builders
to make sure that a header or footer exists in page 1. It looks like I only
have to worry about this in page 1, because if a blank space exists in page
1, then the rest of the document seems to be OK. Any thoughts on this?
Thanks,
Derek Hart