Can I do a Mail Merge in Word from a DataSet as the data source?

L

lanem

I've been doing a Mail Merge using an Excel Spreadsheet as the data source
using VB.NET. Can I just do it directly from my VB.NET code using a DataSet
I have in the code? Thanks.
 
P

Peter Jamieson

No, Word always wants to connect to an external file, unless it is
connecting via ODBC, but in that case
a. it needs a user or system DSN, which is not very much different from
having an external file
b. you would need an ODBC driver capable of returning the data in your
DataSet. A tall order, I suspect!

Peter Jamieson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top