ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copying sheets in workbook limit? (https://www.excelbanter.com/excel-programming/373854-copying-sheets-workbook-limit.html)

Gary

copying sheets in workbook limit?
 
I have routine that updates previous workbooks by copying sheets within the
new workbook and getting the old sheet information.

Everything works great, but for some reason after more than 45 sheets are
copied it errors out.

Some of my workbooks contain over 100 sheets.

Is this a memory thing or limit thing?


Ron de Bruin

copying sheets in workbook limit?
 
Hi Gary

See

Copying Worksheet Programmatically Causes Run-Time Error 1004
http://support.microsoft.com/default...84&Product=xlw
--
Regards Ron de Bruin
http://www.rondebruin.nl



"Gary" wrote in message ...
I have routine that updates previous workbooks by copying sheets within the
new workbook and getting the old sheet information.

Everything works great, but for some reason after more than 45 sheets are
copied it errors out.

Some of my workbooks contain over 100 sheets.

Is this a memory thing or limit thing?




Gary

copying sheets in workbook limit?
 
That did the trick. Thanx

"Ron de Bruin" wrote:

Hi Gary

See

Copying Worksheet Programmatically Causes Run-Time Error 1004
http://support.microsoft.com/default...84&Product=xlw
--
Regards Ron de Bruin
http://www.rondebruin.nl



"Gary" wrote in message ...
I have routine that updates previous workbooks by copying sheets within the
new workbook and getting the old sheet information.

Everything works great, but for some reason after more than 45 sheets are
copied it errors out.

Some of my workbooks contain over 100 sheets.

Is this a memory thing or limit thing?






All times are GMT +1. The time now is 12:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com