Merge document puts an additonal blank page.

C

cssindhu

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?

Thanks in advance.
Sindhu
 
C

Cindy M.

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?
Is there a very specific reason you're trying to use the
MasterDocument feature? Why would InsertFile not work for
you, instead?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun
17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 
C

cssindhu

Our application provides a facility which allows users to select two
documents and merge them into one...If the users tries to merge two
landscape documents then an additional potrait page is inserted in
between.
The same is not true when the documents are not landscape. The
documents get merged correctly.
I checked for section breaks and they look correct.

Please suggest if I need to do any additional settings.
 

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