Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How do I create/declare a master document in Word and then create subDocuments of it? I am trying to create multiple pages with the same layout, but with different values in some fields in the document. I am using VB.net. The project is to create load tags for different jobs with various numbers of skids, each needing a Load Tag.

Thanks for any help,

Dave
Posted
Comments
Richard MacCutchan 5-Oct-15 10:08am    
Use a Word template file.

1 solution

There's nothing like master- and sub-document terminology within MS Word.

Create template[^], as Richard MacCutchan[^] mentioned, then use it to create new document based on this template. Please see:
Documents.Add Method (Word)[^]
How to: Programmatically Create New Documents[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Oct-15 18:08pm    
Sure, a 5.
—SA
Maciej Los 6-Oct-15 10:54am    
Thank you, Sergey.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900