>Hi Yuri,
>
>I found the problem. Thanks for your input. Another change unrelated to ADO caused the issue. The wrapper class invoked workbook.SaveAs() using an earlier version of Excel as the file type, for backward compatibility. (Excel 95)
>
>The ADO call properly put all the rows into the sheet from the cursor, but after SaveAs() saves the file in that earlier version, it imposes the excel 95 sheet size limit at that time. I had to fix that part to resolve the problem.
>
>Thanks again, I apologize for the delay in responding.
>
Great you found the problem.
If it's not broken, fix it until it is.
My Blog