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!

Export Data to Excel

Status
Not open for further replies.

meny21

IS-IT--Management
Oct 4, 2002
101
0
0
MX
Hi!!!

Do you know guys, how can I export data from SQL Server or Access using Visual Basic?

I mean, I put a button for the user and when he clicks, all the data instead a report go to Excel WorkSheet.

Thanks for any help!!!!

MR
 
you could always use the recordset and excel object library.

First read the data in....then create the spreadsheet from the recordset.

I would do a search for Visual Basic Excel either here or on google.
 
Thank you!!!

I will check it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top