Forum Discussion
Dynamic Pages in Mail Merge
- Jun 28, 2026
Yes Absolutely but here is main point you should understand it first ,Word can not toggle whole pages itself but an If field paired with include text gets you there. Save page A and Page B as separate documents so the images and layout stay intact, add a column like Packet type A and B to your data source, then in the merge doc press ALT+F9 and set up a conditional that checks that column and pulls in the matching file. Keeping each page in its own file is what worked for me, since images get unpredictable when you cram both pages into one IF field. Built and proof each page on its own first, then wire up the merge last.
Autotext (and other Building Blocks) need to be stored in a template. You may need to store them in a Global Template (https://www.addbalance.com/usersguide/templates.htm#Global) because the template must be either attached or loaded for the Autotext entries to be available in a document.
Note that the use of the AutoText Field pulling in a Building Block is to get around the limitation in Word on how much can be stored inside an IF field. Building Blocks can store multiple pages and complex configurations.
IncludeText does the same thing, but storing the content in a separate file rather than as a Building Block / AutoText.