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!!!!!
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
>I have a mail merge doc that contains both common and variable pages. I
>have
[quoted text clipped - 3 lines]
> in a file or page so I do not lose my original sort for bulk mailing.
> Help!!!!!