How can I use IF, THEN, ELSE logic in Word's mail merge?

P

PheePhi

I would like to use logic to determine what to include in a letter or label.
I need to say IF field1 is 12345, THEN include this paragraph; ELSE include
this paragraph. I can find references to this capability, but no details. I
am using Word 2002 under Windows XP Home Edition.
 
G

Graham Mayor

Enter the field information manually using CTRL+F9 to set the field boundary
pairs {}

{IF {Mergefield field1} = "12345" "type this" "otherwise type this"}

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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