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!

The Excel.Application class 1

Status
Not open for further replies.

Timinator

Programmer
Apr 13, 2001
33
US
Do I have to add any componets or anything to access the Excel.Application class? VB doesn't allow me to Dim a variable with the Excel.Application. I have excel 97 installed if that matters.

I'm trying to export data from a recordset to an excel spreadsheet. If anyone knows an easy way to do this let me know.

Thanks. Tim
 
Add a reference to Microsoft Excel 8.0 Object Library and it should work, let me know if you're having more problems.
 
daimaou,

How do I add the reference to the Microsoft Excel 8.0 Object Library?

Thanks.

Tim
 
Tim,

Go to project and scroll down to Reference and Click
a box will open, scroll down to Microsoft Excel Object and tht will add in the Excel library, for the programming for it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top