Forum Moderators: open
I am a bit of a beginner in VB6, but I have got to a stage where I am working with adodb recordsets. I have created a recordset that i need to export to excel. Can someone tell me how to do this. Treat me as dumb as possible and explain everything I need to know please. I heard I need to create a data class and refer to it, but this is oh soooooo confusing.
Cheers
If not it would be easier to create a csv file and then import that into Excel. (I won't go into details in case it's not at all a good solution, but search on Scripting.FileSystemObject for creating a file and then just output each field with whichever delimiter you feel fit).
See [aspalliance.com...]
If you need to you can open and edit Excel sheets with SQL statements using an ADO connection. The link points to the first page of a Delphi article, but the principle is the same for ASP.
[delphi.about.com...]
Hope it helps...