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 2007

Tip: Looking for answers? Try searching our database.

Word 2003 Mail merge - Inserting word filed if...then...else

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mani K - 18 Apr 2007 11:26 GMT
I am using word 2003. I have a MM document with about 10 merge fields created
as word table (6 for address and 4 for Mail ID phones etc which will not be
in the letter for used for other purposes). For some records one/two fields
are blank.  Say mail_ID or Home phone.  I want to use "Insert word field "
"if..else..then" for such records and add text to requesting the concerned to
furnish the mail_ID.   I select the field name  mail_ID "equals to blank" how
I compare? (compare with what in the third box). Anybody can help me? Thanks
in advance!
Peter Jamieson - 18 Apr 2007 11:41 GMT
IMO it doesn't take long before it becomes easier to insert these fields
directly, e.g.
a. put the insertion point where you want the field
b. press ctrl-F9 to insert a pair of "special field braces" to give you

{ }

c. type IF "" = "" "the text you want" "" in between to give you

{ IF "" = "" "the text you want" "" }

d. put the insertion point between the first "" and press F9 again

{ IF "{ }" = "" "the text you want" "" }

e. type MERGEFIELD "Mail_ID"

{ IF "{ MERGEFIELD "Mail_ID" }" = "" "the text you want" "" }

 f. either copy/paste the { MERGEFIELD "Mail_ID" } field between the final
"" or repeat (d) and (e) but putting the insertion point between the final
"" to give you

{ IF "{ MERGEFIELD "Mail_ID" }" = "" "the text you want" "{ MERGEFIELD
"Mail_ID" }" }

You can drop the quotes around Mail_ID if it doesn't have spaces and so on.
You can usually drop the quotes around the { MERGEFIELD Mail_ID } fields as
well, but I prefer to keep them.

Use Alt-F9 to toggle between field codes and results/preview, and sleect and
press F9 to update a particular field's result as necessary.

Peter Jamieson

>I am using word 2003. I have a MM document with about 10 merge fields
>created
[quoted text clipped - 10 lines]
> Thanks
> in advance!
Mani K - 20 Apr 2007 09:20 GMT
Hi
Thank you very much. It helped. Thanks again

Mani K

> IMO it doesn't take long before it becomes easier to insert these fields
> directly, e.g.
[quoted text clipped - 45 lines]
> > Thanks
> > in advance!
 
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.