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

Excel and ADO 1

Status
Not open for further replies.

comconrk

Programmer
Jul 15, 2002
55
I would like to use ADO in Excel, but when I try to use

Dim conn as ADODB.Connection

I get a compile error. I have added several references to my VBA macro, but I must not have found the correct one.

Which reference(s) should I be adding?

Thanks!
 
Microsoft ActiveX Data Object 2.# Library

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top