Device I/O Error

S

Seth

While doing some simple programming using the ADO object
model to query an Excel workbook I keep getting a message
box in the VBE that says "Device I/O Error". The code
executes fine, and I don't get the error unless I am in
the VBE!

It was suggested that this was the result of a workbook
object variable not being set to nothing...however, there
was no workbook object present when the message
appeared. It only occurs when the VBE is active. I use
the "Close" method of the recordset object and set it to
nothing after the query.

Does anyone know what is going on?

Thanks,

Seth
 

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