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

How Do I Call the ODBC Administrator with Excel VBA

Status
Not open for further replies.

shager

Technical User
Jan 8, 2003
3
US
I used to use this Excel VBA code to open the ODBC Administrator

ConnectionId = SQLOpen("", ThisWorkbook.Sheets("CNString").Range("A1"), 2)

My problem is that SQLOpen is part of XLODBC which is getting old. The things I read suggest using something within ADO but I can not figure it out.

The end result is that I want to call the ODBC Administrator so that I can get it to build my Connection String.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top