#1
|
|||
|
|||
I am getting blank lines with Mail Merge
The condition that if the field contains two dashes ("--") do not print anything is working, however it leaves an empty/blank line. I'm missing some little item in the syntax.
{IF{MERGEFIELD Bus_Address_2}<> "--" "{MERGEFIELD Bus_Address_2}"} Thank you for any suggestions. I read the very detailed document in the Sticky section, however it does not appear to cover this situation. \rtc |
#2
|
||||
|
||||
That's because you've left the paragraph break/line break that's creating the empty line outside the IF field. Instead of being constructed thus:
{IF{MERGEFIELD Bus_Address_2}<> "--" "{MERGEFIELD Bus_Address_2}"}¶ tt should be constructed thus: {IF{MERGEFIELD Bus_Address_2}<> "--" "{MERGEFIELD Bus_Address_2}¶ "} Scenarios like this are actually dealt with in the Mailmerge Tips & Tricks thread, in the note under Mailmerge Empty Line Suppression
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mail merge envelopes are blank when printed | DIYman | Mail Merge | 1 | 03-07-2017 02:30 PM |
Eliminating blank lines in mail merge (labels) | BeerStud | Mail Merge | 1 | 11-28-2014 06:29 PM |
Getting blank lines instead of supressed lines. | Welshie82 | Mail Merge | 2 | 11-14-2011 01:41 AM |
delete blank pages from mail merge document | blusea | Word | 0 | 12-17-2010 06:10 PM |
How to turn all blank lines into non-blank for legal forms | sieler | Word | 3 | 04-12-2009 01:38 PM |