In Access 2013 VBA I am trying to open the connection:
Set cn = New ADODB.Connection
connectionString = "ODBC;DSN=MyDSN;Trusted_Connection=Yes;APP=Microsoft Office 2013;DATABASE=MyTest"
cn.Open (connectionString)
I have validated and used "MyDSN" in other code so I know that the DSN settings are correct. When I execute the code above I get a run-time 80004005 error telling me that the "Data source name not found and no default driver specified"
Can I use a DSN connection with an ADODB connection?