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 datasource!

Status
Not open for further replies.

oka97

Programmer
May 25, 2003
28
0
0
GB
I've noticed you have to set Word's datasource property for it to accomplish a mail merge, but my VB application is connecting to an MDB using ODBC, as such it has no clue where the MDB file is (it'll be somewhere on the LAN).

Isn't it possible to do a mail merge by applying an ADO connection somehow?

I'm guessing no. In which case I'll let the user choose the (LAN) location of the MDB file manually, which isn't as user-friendly as I'd have liked.

Any suggestions people? :)
 
Ah no, as usual I'm being impatient. Here's the answer

Microsoft Knowledge Base Article - 285332
HOWTO: Automate Word 2002 with Visual Basic to Create a Mail Merge


Under title "Using ODBC" :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top