Thread: [Solved] Custom label size for merge
View Single Post
 
Old 04-23-2011, 01:55 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

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