Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / October 2004

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PheePhi - 26 Oct 2004 16:45 GMT
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.
Graham Mayor - 26 Oct 2004 17:52 GMT
Enter the field information manually using CTRL+F9 to set the field boundary
pairs {}

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

Signature

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.