Merge document puts an additional page

N

NB

Hi,
I am trying to merge two documents in a macro. The
command used is
ActiveDocument.SubDocuments.Merge FirstSubDocument:=
ActiveDocument.SubDocuments(FileName1), LastSubDocument :=
ActiveDocument.SubDocuments(FileName2)

The two documents have landscape orientation and
have the same size, header, footer etc.

When the documents are merged using the above
command, a blank document with "potrait" orientation
appears between the merged documents.

Is there any way that we can get the merged documents free
of any such blank pages? Is there any other settings that
need to be done before the documents are merged?

Let me know,
Thanks for your time,
NB
 
W

Word Heretic

G'day "NB" <[email protected]>,

wrap the insert point in section breaks and set the landscape
properties before running your merge.

NB said:
Hi,
I am trying to merge two documents in a macro. The
command used is
ActiveDocument.SubDocuments.Merge FirstSubDocument:=
ActiveDocument.SubDocuments(FileName1), LastSubDocument :=
ActiveDocument.SubDocuments(FileName2)

The two documents have landscape orientation and
have the same size, header, footer etc.

When the documents are merged using the above
command, a blank document with "potrait" orientation
appears between the merged documents.

Is there any way that we can get the merged documents free
of any such blank pages? Is there any other settings that
need to be done before the documents are merged?

Let me know,
Thanks for your time,
NB

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email (e-mail address removed)
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.
 
C

Cindy M -WordMVP-

replied to duplicate question in some other, non-VBA group.

Cindy Meister
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top