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 / January 2005

Tip: Looking for answers? Try searching our database.

How do I remove or supress blank data in fields in mail merge e.g.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J&L - 13 Jan 2005 22:21 GMT
I have a some people with middle names and some that don't.  When I merge the
data in Word 2003 it shows an extra space!  How do I supress blank data?
Doug Robbins - 14 Jan 2005 00:50 GMT
Use an If...then...else field.

Signature

Please respond to the Newsgroup for the benefit of others who may be
interested.   Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP

>I have a some people with middle names and some that don't.  When I merge
>the
> data in Word 2003 it shows an extra space!  How do I supress blank data?
Graham Mayor - 14 Jan 2005 06:04 GMT
> Use an If...then...else field.
>
> Hope this helps,
> Doug Robbins - Word MVP

eg
{Mergefield First_Name}{IF {Mergefield Middle_Name} <> "" " {Mergefield
Middle_Name}"} {Mergefield Last_Name}
Note the space before {Mergefield Middle_Name}
Change the field names to suit your data.

Signature

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

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

>> I have a some people with middle names and some that don't.  When I
>> merge the
>> data in Word 2003 it shows an extra space!  How do I supress blank
>> data?
 
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.