Mailmerge

  • Thread starter Mailmerge textblocks
  • Start date
M

Mailmerge textblocks

Hi all,

I use mailmerge in Word to generate mailings. The datasource I use is
created in an external application that generates a flat text-file with
tab-delimited fields in it.

Is there way to save multi-lined fields in such a flat textfile ? I'd like
to be able to merge "textblocks", but the linefeed-symbol in the datasource
textfile is the recordseparator.

Does anyone have an idea of how I could solve this or how I can "simulate"
carriage returns in the flat textfile (=the datasource used).

Regards
Glenn De Tollenaere
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?TWFpbG1lcmdlIHRleHRibG9ja3M=?=,

Generate the text file such that each field's content is contained in its own
set of "quotes". Everything within the quotes, including line feeds, will be
considered part of the field content.
I use mailmerge in Word to generate mailings. The datasource I use is
created in an external application that generates a flat text-file with
tab-delimited fields in it.

Is there way to save multi-lined fields in such a flat textfile ? I'd like
to be able to merge "textblocks", but the linefeed-symbol in the datasource
textfile is the recordseparator.

Does anyone have an idea of how I could solve this or how I can "simulate"
carriage returns in the flat textfile (=the datasource used).

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 :)
 
M

Mailmerge textblocks

Hi Cindy,

this does work, but an extra dialog appears demanding the fieldseparator. If
I choose ',' there the merging executes correct.

I'd like to avoid the dialog however, any idea how this can be achieved (I
use OLE to create merged documents automatically, so I don't want this extra
interaction from the user).

Regards
Glenn De Tollenaere
 
M

Mailmerge textblocks

Cindy,

ignore the previous post, I forgot one '"' in the last line of my textfile.
All works fine, thanks for the tip !

Regards
Glenn De Tollenaere
 

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