create conditional data in label mail merge

C

Corky Whiteboard

I have a mail merge label document. I want to conditionally print one field
- ie, if the <<Country Abbrev>> field is NOT US, then print the <<Country>>
field otherwise leave blank.
 
G

Guest

HI,

If you have a fairly large volume to process and would like an automated
solution, my OctoTools can conditionally print based on input information
(such as state code or zip or phone number or any other input data as well).
OctoTools is however more justified for applications running with medium to
high volume throughputs as opposed to an occasional desktop app. If
interested please give me a call (978) 535-7676 or e-mail for additional
info.

Thanks and good luck,

Larry T.
 
G

Graham Mayor

{IF {Mergefield Country_Abbrev} <> "US" "{Mergefield Country}"}
will do that. Note that the field boundaries {} are inserted with CTRL+F9
and that fieldnames should not have spaces.
however if the fieldname does have a space, it might work with
{IF {Mergefield "Country Abbrev"} <> "US" "{Mergefield Country}"}

See http://www.gmayor.com/formatting_word_fields.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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