![]() |
#4
|
||||
|
||||
![]()
Hi Concertina,
Although the variable text can be held in multiple different documents, it can just as easily be held in a single document - with each variant differentiated by a bookmark. For separate documents, you might code the INCLUDETEXT field like: {INCLUDETEXT "C:\\Users\\My Document Path\\SourceDocument{MERGEFIELD DocID}.doc"} where the source documents are named 'SourceDocument1', 'SourceDocument2, ... 'SourceDocument100' and the DocID field in your data source returns the number that corresponds with these documents. For use with a single, bookmarked, document, you might code the INCLUDETEXT field like: {INCLUDETEXT "C:\\Users\\My Document Path\\SourceDocument.doc" "BkMk{MERGEFIELD BkMkID}"} where the bookmarks in the source document are named 'BkMk1', 'BkMk2, ... 'BkMk100' and the BkMkID field in your data source returns the number that corresponds with these bookmarks. Using a single separate document has significant advantages over using separate documents, especially when it comes to maintenance.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
100 Primary Mail Merge Documents - want to add a table with fields to all of the primary documents | revans611 | Mail Merge | 3 | 09-15-2020 12:07 PM |
![]() |
Baldeagle | Mail Merge | 8 | 02-11-2013 04:40 AM |
Continue SEQ field numbering across documents | gmaxey | Word | 0 | 12-30-2012 09:16 AM |
![]() |
ilce | Mail Merge | 1 | 02-16-2012 02:33 PM |
Text field after word merge in Word 2000 | brianlb | Word | 1 | 06-29-2009 07:50 AM |