Add Documents to a word document
Posted on 2014-11-17
Experts, I am working on an application for our sales staff to build a quote. A quote can consist of one page or ten pages. Each of the pages are Word Documents that I have stored for use as templates. What I want to do is based on the options the user has chosen, create an instance of the required templates and then build a new word document with those objects. Could someone show me an example of doing this if for instance I create a new object like this:
Dim oWord as new Word.Application
Dim oDoc as oWord.Documents.Open(myPath)
How could I then add other objects to this document?