G
Guest
I am writing a VBA program in Access 2003 that does five tasks:
1. open an Excel workbook
2. copy a worksheet to a temporary worksheet
3. copy data from a recordset to the temporary worksheet
4. rename the temporary worksheet
5. save and close the workbook
Everything works fine, except in situations where more than 15 worksheets
need to be copied. At that point the VBA program dies. Does anyone have any
suggestions?
Thanks!
1. open an Excel workbook
2. copy a worksheet to a temporary worksheet
3. copy data from a recordset to the temporary worksheet
4. rename the temporary worksheet
5. save and close the workbook
Everything works fine, except in situations where more than 15 worksheets
need to be copied. At that point the VBA program dies. Does anyone have any
suggestions?
Thanks!