Excel Automation Basics

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This should be an easy one but I searched the board and was unable to find
anything that directly addressed my question. What is the best way to export
a recordset to excel? I simply want to export everything in the recordset
including the headers to excel. I need to do this in VBA.

Thanks,
 
The TransferSpreadsheet Method/Action will do this. You just supply the
table/query name and the name of the file you want to create along with some
other optional arguments.
 
Douglas,

That was exactly what I was looking for and very well written. Thanks!
 

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

Back
Top