View Single Post
 
Old 05-23-2014, 03:02 PM
macropod's Avatar
macropod macropod is online now Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,339
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote