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 / April 2006

Tip: Looking for answers? Try searching our database.

Nested If statements in MS Word 2003 - Help!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
crun - 12 Apr 2006 03:39 GMT
I am trying to create a mail merge document that will insert text
depending on the value on a certain field.  For instance, Program is
the merge field and,

if Program = Live #1, insert "123456"
if Program = Live #2, insert "456789"
Otherwise, insert "987654"

I've tried inserting the following in the document where I want the
data above to be returned:

{IF {MERGEFIELD Program} = "Live #1" "For 123456" "{IF {MERGEFIELD
Program} = "Live #2" "456789" "987654"} "}

However, when I complete the merge, the text above is displayed, rather
than a corresponding value...am I putting this formula in the wrong
place?  Any suggestions?

Thanks!
Peter Jamieson - 12 Apr 2006 08:10 GMT
You have to use the special field braces that you can insert using ctrl-F9
for the {}. You can't just type them on the keyboard. You can type
everything else on the keyboard.

Peter Jamieson
>I am trying to create a mail merge document that will insert text
> depending on the value on a certain field.  For instance, Program is
[quoted text clipped - 15 lines]
>
> Thanks!
 
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.