![]() |
|
#11
|
||||
|
||||
|
You've gone off on a new tack. That code is not related to any external file source data or file paths that you've been talking about previously.
I would be doing what you describe you want in a very different way. I would use an embedded xml file and then use linked Content Controls to display the related data. For each 'template' I would set up a single Word template which contains a series of building blocks - one for each document type. You would then insert one of the building blocks (to populate the xml file) and could then replace the content with any of the related Building Blocks to create each of the document instances. See https://gregmaxey.com/word_tip_pages...rol_tools.html for a different way of setting up the file.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia Last edited by Guessed; 12-19-2018 at 10:28 PM. Reason: I see Graham has the same idea... |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Field Code: Show a value only if bookmark is not empty
|
Cosmo | Word | 7 | 08-24-2018 01:46 PM |
VBA Code to Access Building Block Template in Word 2013 Startup folder
|
rdross51 | Word VBA | 2 | 06-01-2016 07:05 PM |
| Find Bookmark, move to bookmark, execute code, repeat | raymm3852 | Word VBA | 10 | 04-15-2016 06:21 PM |
VBA Code in template does not run in new document
|
highrise955 | Word VBA | 4 | 03-06-2016 04:48 PM |
Visual basic code for Word 2003 template
|
KateAus | Word VBA | 4 | 09-09-2012 08:40 PM |