How do I avoid () in my WORD Mail Merge document

W

Wickliffe

How do I avoid the resulting () in my WORD Mail Merge document when the Excel
data field is blank?
 
D

Doug Robbins

Add a formatting switch to the mergefield

\# "0;(0);"

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
G

Graham Mayor

I take it the brackets are inserted as part of the document text - in which
case place them (and the field) with a conditional field eg

{IF {Mergefield fieldname} <> "" "({Mergefield fieldname})"}

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