mail merge using variable data to determine which page to insert.

S

Sue

I have a mail merge doc that contains both common and variable pages. I have
a mail list that contains a feild that will determine which page will be
printed in my form letter. I is there a what to use an If statement to pull
in a file or page so I do not lose my original sort for bulk mailing.
Help!!!!!
 
P

Peter Jamieson

Either something like

{ IF { MERGEFIELD myfield } = 0 "{ INCLUDETEXT
"c:\\extrapages\\extrapage.doc" }" "" }

- in which case you may need multiple IF fields if different documents need
different pages, or

{ INCLUDETEXT "c\\extrapages\\{ MERGEFIELD myfield }.doc" }

if you one .doc for each possible value of "myfield" and those values are
legitimate file names, or

{ INCLUDETEXT "c\\extrapages\\extrapages.doc" "{ MERGEFIELD myfield }" }

where each possible value of myfield is the name of a bookmarked chunk of
text in "extrapages.doc".

Peter Jamieson
 

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