VB6 and using an existing .dot template for Word Mail Merge
Posted on 2004-09-08
I have already done this where I am creating the document from Visual Basic but what I need to know is this.
The users want to be able to create their own template for the Mail Merge then select the path to that document in my app and run the merge process. I have been researching this for 2 weeks and I have found nothing where this can be done. I know it sounds like we are reinventing the wheel or rewriting Microsoft Word but I work with day traders that have very little computer knowledge.
To date I can call the template document and open it in code however I have not been able to physically produce a document with data from the data source in my application.
I have tried several examples from this site and many other sites but nothing appears to work.
Would someone be kind enough to point me in the right direction please.