Tocogroup
asked on
How can I suppress a page in Mailmerge on condition of an Excel value ?
Hi Experts,
I have a Word document consisting of two pages (an Invoice, and a Balance Statement) which I use to MailMerge invoice data from an Excel worksheet. It works fine, generating both pages for each Excel row.
However, I would like it to only create the Balance Statement (the second of the two pages) if the value in a 'Balance Due' field in the spreadsheet exceeds £500. is it possible to suppress a page in Word MailMerge ?
Thanks
Toco
I have a Word document consisting of two pages (an Invoice, and a Balance Statement) which I use to MailMerge invoice data from an Excel worksheet. It works fine, generating both pages for each Excel row.
However, I would like it to only create the Balance Statement (the second of the two pages) if the value in a 'Balance Due' field in the spreadsheet exceeds £500. is it possible to suppress a page in Word MailMerge ?
Thanks
Toco
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the excellent solution Graham. I got it to work eventually - the spaces were important !
Toco
Toco
ASKER
I followed your instructions up to the point where I embedded the page within curly braces but without adding the IF{MERGEFIELD statement.
{ "................Page Break.................¶
I then tried the MailMerge to confirm that it would still work with the curly braces. But it didn't ! It didn't generate the second page at all.
Why is this ? Does it need the IF statement to print the second page ?
Regards
Toco
Open in new window