Thank you both PHV and cmmrfrds.
I got the connection string using cmmrfrds' suggestion about the .udl file. BTW, that was pretty cool because I had no idea what library to use before going thru those steps.
I get an error message saying "ODBC driver does not support the requested properties" when the GetSqlServerTables() function gets to the following line:
rs.Open sql1, cn, adOpenStatic, adLockReadOnly
Unfortunately I can't figure out where the problem is.
Also, I am assuming that to run this code I can put the following behind a command button:
Private Sub Command0_Click()
Call GetSqlServerTables
Call AddSQLServerLinkedTables(tabName As String)
Call AddLinkedTablesLooper()
End Sub
My only other question (sorry I'm new at this) is what to supply (if anything) for the tabName variable in the function AddSQLServerLinkedTables.
Again, thank you for the help!