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

J

J&L

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?
 
D

Doug Robbins

Use an If...then...else field.

--
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
 
G

Graham Mayor

Doug said:
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.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top