Mail merge into single document...

N

Neil Dittmar

Hello All,

I am currently developing a visual basic application that
will merge a word table datasource and "template" document
into a single word document. The datasource (.doc file)
contains a single table (dynamically created using Word
Object Model in VB) that includes payment line items that
are input via another program. This datasource is then
programatically merged (using the Word object model) into
a "template" document (.doc file) with the corresponding
data fields placed appropriately. The problem is that
when I perform the merge (either programatically or via
the Word GUI) I get the typical line breaks, header
repeats, etc. that I would get while doing a mailmerge. I
am wondering if it is possible via the merge function (or
some other function) to merge the data from the datasource
into a single word document without page breaks, repeating
headers, etc. Any information would be greatly
appreciated.

Thanks in advance,

Neil Dittmar
Software Developer
Aurora Information Systems
 
C

Cindy M -WordMVP-

Hi Neil,

Choose "Catalog" (or directory in newer versions of Word) as
the main merge document TYPE.
I am currently developing a visual basic application that
will merge a word table datasource and "template" document
into a single word document. The datasource (.doc file)
contains a single table (dynamically created using Word
Object Model in VB) that includes payment line items that
are input via another program. This datasource is then
programatically merged (using the Word object model) into
a "template" document (.doc file) with the corresponding
data fields placed appropriately. The problem is that
when I perform the merge (either programatically or via
the Word GUI) I get the typical line breaks, header
repeats, etc. that I would get while doing a mailmerge. I
am wondering if it is possible via the merge function (or
some other function) to merge the data from the datasource
into a single word document without page breaks, repeating
headers, etc

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun
8 2004)
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 :)
 

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