How to surpress blank lines in merge

P

Peter Jamieson

It is normally done by default, as long as the blank line actually has at
least one { MERGEFIELD } type field whose result is blank.

However, this is not the case in Word 2002/2003 when the fields are nested
inside other fields such as IF or INCLUDETEXT fileds.

If the mail merge main document is (somehow) not using the default setting,
you can change it in Word 200 and earlier using the Mail Merge Helper. In
Word 2002 and later, first you need to use Tools|Customize|Commands and drag
the MailMergeHelper command from the All Commands category to a toolbar.

If Word does not suppress the lines in the way you want, you have to do it
yourself using IF fields, e.g.

{ IF "{ MERGEFIELD myfield1 }" = "" "" "
{ MERGEFIELD myfield1 }"
}{ IF "{ MERGEFIELD myfield2 }" = "" "" "
{ MERGEFIELD myfield2 }"
}

where all the {} are inserted using ctrl-F9

Peter Jamieson
 

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