I'd like to work with an Access table in Excel, and normally this works fine. But the target db is Office 2019 and Excel 2010.
It's going to an error concerning the wrong version or format. My connection code is
Code:
Set cnn = New ADODB.Connection
Set rx = New ADODB.Recordset
cnn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & DBPath
cnn.Open
rx.Open "Select * from TableAA", cnn, adOpenStatic, adLockReadOnly
rx.MoveFirst
Also tried a DAO connection but struck the same problem.
Is there anything I can do to get this working?