VBAinspire
Programmer
I am using the following VBA code to transfer recorset data from Access to Excel:
rstNew = New ADODB.Recordset
xlBook.Worksheets(1).Range(B2).CopyFromRecordset rstNew
On some machines, it works perfectly. On others, it crashes with the following error:
Run-time Error 430 - "Class does not support Automation or does not support expected interface."
Any ideas on what could be causing the problem and how to fix it?
rstNew = New ADODB.Recordset
xlBook.Worksheets(1).Range(B2).CopyFromRecordset rstNew
On some machines, it works perfectly. On others, it crashes with the following error:
Run-time Error 430 - "Class does not support Automation or does not support expected interface."
Any ideas on what could be causing the problem and how to fix it?