LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Copy Sheet Limit

I have an excel workbook (Excel 2000) which contains a macro to create new
sheets. For some reason the macro works up to 46 sheets and then fails.

The workbook in question contains 3 sheets. One of these is a blank template
which is copied to create any additional sheets required.

I have subsequently found a workround by adding a new sheet rather than
copying and then copying and pasting the required cells from the blank
template sheet. This will allow me to have as many sheets as necessary but is
much slower than just copying the entire sheet.

Someone has already suggested following:

"I don't believe it has to do with the limitation in the accual sheets of
excel. I believe it to be the way in which VB creates new sheets. For each
sheet it creates, it creates a pointer, the next sheet is a pointer to the
first sheet, that has a pointer to the origial sheet, as each sheet is
created in VB a new pointer is created to the last sheet.

If however you do it manualy, it creates a pointer to the base sheet so you
do not get a string of pointers, which do not result in a overflow."

Does anyone have any suggested fixes for this?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move & Copy Problem, Limit? RL Excel Discussion (Misc queries) 3 December 12th 09 10:58 PM
Sheet copy limit LiAD Excel Discussion (Misc queries) 0 November 6th 09 07:43 AM
Copy/Paste limit? ka2cil Excel Discussion (Misc queries) 1 February 11th 06 12:26 AM
Print Copy limit gocats Excel Discussion (Misc queries) 8 August 26th 05 01:33 AM
limit copy command? Johan Johansson Excel Programming 1 January 3rd 05 04:01 AM


All times are GMT +1. The time now is 05:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"