colofnature
New member
- Local time
- Today, 04:21
- Joined
- Sep 19, 2006
- Messages
- 4
Hi
Trying to dump a table into Excel using CopyFromRecordset, but it's only copying the first dozen rows, then breaking halfway through the next with the error message "Run-time error '-2147467259 (80004005)' Method 'CopyFromRecordset' of object 'Range' failed", which doesn't really tell me much. I could loop through the recordset to output each field individually but I'd rather know why it's not working. Any ideas?
Cheers
Col
Trying to dump a table into Excel using CopyFromRecordset, but it's only copying the first dozen rows, then breaking halfway through the next with the error message "Run-time error '-2147467259 (80004005)' Method 'CopyFromRecordset' of object 'Range' failed", which doesn't really tell me much. I could loop through the recordset to output each field individually but I'd rather know why it's not working. Any ideas?

Cheers
Col