Mergefield conditional, need to skip blank line
Hello,
I am using Mailmerge and have created some conditional formatting in order
to skip certain fields if the data is blank. However, now the blank lines are
being left in my document. Is there another mergefield code I can use to
remove blank lines?
Here is what I have so far:
First three lines are fine, blank lines are skipped because there is no
conditional formatting:
{ MERGEFIELD First_Name } { MERGEFIELD Last_Name }
{ MERGEFIELD AgencyCompany }
{ MERGEFIELD Address }
Then the fourth line is this:
{ IF{ MERGEFIELD City } { MERGEFIELD City } }{ IF{ MERGEFIELD
State } {MERGEFIELD State } }{ IF{ MERGEFIELD Zip_Code } {
MERGEFIELD Zip_Code } }
I would like to tell the fourth line to skip if it is blank. Any help would
be appreciated. Thank you!
--
Julie ~ Former WordPERFECT user.
Attempting to soak up all the knowledge from other generous Word & Excel
users to make my job easier.
|