Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail Merge with OLE Word, VB 6

Status
Not open for further replies.

KowCiller

Programmer
Aug 5, 2002
10
0
0
US
Hello All-

I've read many other posts about mail merging with word and VB 6 but I cannot seem to find a good answer for what I'm doing.

On my form there is an OLE Container and it will always be set to open a blank word 2000 document. I would like my users to be able to mail merge using this. I have a MSSQL Server database that they need to access data from. The fields they use will always be from the same DB and Table.

How can I accomplish this? When I open up a new word document, the mail merge feature is disabled. I would like them to be able to do a normal merge through the Word inside the container, the exact same as they would through opening up Word themselves. The key here is that I want them to do all this inside our application.

How is this accomplished? All help would be much appreciated!

Thanks!

Aaron.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top