Blank line in mail merge

S

slac

I have inserted a conditional if..then..else statement in
a mailmerge document. How do I format it so that if the
condition is false, nothing prints and I will not get an
blank line on a mailing address?

Thanks

Sante...
 
G

Graham Mayor

Put it on the previous line and include in the result of the condition the
line feed. eg

{Mergefield Name}{IF {Mergefield Company} <> "" "
{Mergefield Company}"}


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

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

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