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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO recordset to excel?

Status
Not open for further replies.

evilmousse

Programmer
Apr 15, 2003
85
US
I need to docmd.outputto an ado recordset to excel. outputto-ing the report object is no good,
the texbox names are taken to be the column headers instead of the lables above them.
I use a naming convention, and txt_LoanNum above the data looks halfassed.

I'm making an adp, so dao won't work tho. I've already several solutions, most complex, but there's a fairly elegant solution at
Thing is, it uses a DAO recordset, and passes it via it's .name property. I've not found even how to pass an ADO recordset successfully, much less have the export succeed.

-g

PS. If anyone knows an iterative solution to this
where vba must go field-by-field, that's welcome too.

[pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top