Using I am Word 2016, and trying to create a mail merge a document that conditionally include another mail merge document based on a mergefield. Both top document and included document use the same excel spreadsheet for the database to do the mail merge. The field is named "Joined" and when it is "xb" I want the other document included. Here is the Quick Part > Field that I created to do this:
I've recreated three files to demonstrate. I am new to this forum (first time posting). How do I include these files for others to look at?
Ken
{IF "< < Joined <joinws\><joined>> >" = "XB" {INCLUDETEXT "C\\USRS\\KCARON\\MYOPTIONAL.DOCX" \* MERGEFORMAT } "" \* MERGEFORMAT }</joined></joinws\>
I never get the second document included, even when I hit a record where the Joined field is "xb"I've recreated three files to demonstrate. I am new to this forum (first time posting). How do I include these files for others to look at?
Ken
Last edited: