Record Header Delimiter Box

M

Mark Young

I have created a mail merge with the data coming from a
RTF. I have created a header field and all the necessary
data in the document. The Field Delimiters are seperated
by a '~' symbol, and the Record Delimiters are seperated
with a '|'. When I merge I always have to select the
Field and Record delimiters using the above symbols. Is
there any way of automating this, as I've tried recording
a macro. This does everything but then brings up the
Record Header Delimiter box so I have to select them. I'm
presuming it could be a bit of VBA code that is needed,
but I am unsure. Any help would be appreciated. Checking
on MS support they say to duplicate the header data, I
have tried this but no luck.
 
C

Cindy M -WordMVP-

Hi Mark,
I have created a header field and all the necessary
data in the document. The Field Delimiters are seperated
by a '~' symbol, and the Record Delimiters are seperated
with a '|'. When I merge I always have to select the
Field and Record delimiters using the above symbols. Is
there any way of automating this, as I've tried recording
a macro. This does everything but then brings up the
Record Header Delimiter box so I have to select them.
As long as you're not using a paragraph mark (Chr(13) as the
record delimiter you have no chance of suppressing this
dialog box.

If the problem is that your data contains paragraph marks in
the fields, then place each field's contents in "quotes" so
that Word knows when the paragraph marks belong to a field
and when they're record delimiters.

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