VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

VB to Excel

T.Hovila  (1 Submission)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This code will take data from the Northwind database and write it to an Excel spreadsheet. Code can be modified to do more complex reports, but the basics are included here.

Assumes
You have a System DSN entry set up pointing the the Northwind database called nwind. You also need to set up references to Microsoft Excel 8.0 Object Library and Microsoft ActiveX Data Objects 2.1 Library.

Rate VB to Excel (8(8 Vote))

Download VB to Excel

VB to Excel Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters