The_Kurgan
Active Member
- Joined
- Jan 10, 2006
- Messages
- 270
I do a lot of automation between Excel and Access. Unfortunately, I’ve been switched to Excel 2016 and am now missing the “Access Developer Extensions Type Library” reference. Below is just a sample piece of code I would use that is now puking due to the missing reference. Has anyone found a work-around for this? TIA!
Code:
'Create the Recordset object
Set RS = New ADODB.Recordset
RS.CursorLocation = adUseClient
strSQL = "SELECT Phnx_LoanLevel_Master.Data_Date AS Phnx_DT FROM Phnx_LoanLevel_Master GROUP BY Phnx_LoanLevel_Master.Data_Date ORDER BY Phnx_LoanLevel_Master.Data_Date DESC;"
RS.Open strSQL, cn, adOpenStatic, adLockBatchOptimistic
RS.MoveFirst
Do Until RS.EOF = True
Start_Frm.ListBox1.AddItem RS.Fields(0)
RS.MoveNext
Loop
Last edited: