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 / March 2004

Tip: Looking for answers? Try searching our database.

"IF"  clause

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Louise - 02 Mar 2004 15:57 GMT
I am using Office XP.  When I merge a letter, the name
does not always contain a Middle Initial and it leaves a
blank space when there is no MI.  I have tried using the
IF, THEN insert but I still get a blank space.  So
frustrating.  Can anyone help?  The data source is Excel.

Thanks,
Graham Mayor - 02 Mar 2004 16:13 GMT
You are halfway there with the conditional field. You use the field to
insert the mergefield AND the space.

{Mergefield FirstName}{IF {Mergefield Initial}<> "" " {Mergefield Initial}"}
{Mergefield LastName}
or to clarify
{Mergefield FirstName}{IF {Mergefield Initial}<> "" "<space>{Mergefield
Initial}"}<space>{Mergefield LastName}

Signature

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

     Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> I am using Office XP.  When I merge a letter, the name
> does not always contain a Middle Initial and it leaves a
[quoted text clipped - 3 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.