Thread: Format Labels
View Single Post
 
Old 02-29-2024, 01:41 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,138
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

A simple way to eliminate blank address lines is to conditiionally insert the field and the line break e.g.
{ MERGEFIELD Field1 }{ IF { MERGEFIELD Field2 } <> "" "¶
{ MERGEFIELD Field2 } "}{ IF { MERGEFIELD Field3 } <> "" "¶
{ MERGEFIELD Field3 } "}
where ¶ is an actual paragraph break.

Labels are tables and are formatted like any other text in a table.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote