Hi dmwesq,
You can suppress a paragraph break (or a line break) before or after an empty mergefield by doing the following:
• select the mailmerge field to be suppressed (eg «MyData») and press Shift-F9 so that you get {MERGEFIELD MyData};
• edit the field code so that you get {MERGEFIELD MyData \f ""} or {MERGEFIELD MyData \b ""}, depending on whether the line to be suppressed is following or before the mergefield;
• move the paragraph break or line break to be suppressed into field code so that you end up with {MERGEFIELD MyData \f "¶
"} or {MERGEFIELD MyData \b "¶
"} (use a real paragraph break or line break in place of the '¶');
• position the cursor anywhere in this field and press F9 to update it;
• run your mailmerge.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|