I'm trying to I create a Microsoft Word mail merge that uses an IF statement to control whether or not to merge a particular record from an Excel file. It will only merge the current record if the name is different than the previous record. It goes something like this:
{If {Name1} {Name2} "code to do mail merge" ""}

The last set of double quotes has nothing in it. I have used that in
other mail merges to have the merge continue with no action when the
IF statement condition is not met. In this case it is not merging
the record (which is good) but it is adding a page break resulting in
many empty pages being inserted into the merge (which is bad). How do
I get it to not add the extra empty pages?