Mail Merge Question

AreaCode707

Lifer
Sep 21, 2001
18,447
133
106
Does anybody know how to do if-then logic in a mail merge so that if no response is returned, there are not paragraph marks left in the word doc?

Situation:
Doing a mail merge of a letter template with a big fricking spreadsheet. In the letter there are about 10 paragraphs in a row all based on if-then logic, where if data source = no, then do not input paragraph. The logic works fine.

The problem is that for each paragraph not input, there is a line break after the doc has been merged - an extra ten line breaks right in the middle of the completed letter.

Anybody have any help to offer?
 

DaShen

Lifer
Dec 1, 2000
10,710
1
0
It may be better to do it in the query on the database side.

Make it so that the spreadsheet and mail merge point to a query which handles the null cases already. :)

Hope that helps.