New Error using CopyFromRecordset

M

Mike Samyn

I have have some Access VBA code that exports recordsets to Excel that has
worked for years. All of a sudden I am getting an error message that says:
Class does not support Automation or does not support expected interface.

The code that fails is:

ws.Range("A2").CopyFromRecordset Rs(I)

I can send ws.Range("A2").CopyFromRecordset=1.20982 without a problem but
no longer any recordsets.



Any Help is Appreciated
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top