You can suppress the empty lines using the mergefield \b or \f switches. First turn on Word's formatting display so you can see the ↵ & ¶ symbols that represent line & paragraph breaks. To conditionally suppress, the «Employer» field for example:
• select the field and press Shift-F9 to expose the field code. You should see
{MERGERFIELD Employer}¶
• Edit the field code so you get
{MERGERFIELD Employer \f "¶
"}
Note that the paragraph break is now inside the field and the «Injury_Date» field is now immediately after the "}
Similarly, to suppress the 'WCB (7) Insurance: «Ins_Plan»' line:
• select the field and press Shift-F9 to expose the field code. You should see
«Ins_Plan»
• Edit the field code so you get
{MERGERFIELD Ins_Plan \b "WCB (7) Insurance: " \f "¶
"}
Note that the 'WCB (7) Insurance: ' text and the paragraph break are now both inside the field.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|