+ Reply to Thread
Results 1 to 3 of 3

Max No of Sheets?

  1. #1
    Registered User
    Join Date
    03-16-2004
    Location
    UK
    MS-Off Ver
    2003
    Posts
    85

    Max No of Sheets?

    I have a macro which changes a worksheet based on each record from another sheet, it then copies the worksheet. I.e. a new sheet is created for each record simpy with...

    Please Login or Register  to view this content.
    This works fine but only copies about 30 sheets before the macro stops and says 'copy method of worksheet class failed'. At this point, even if I delete the 30 sheets and manually try and copy the sheet I am unable to.

    Is there a maximum number of sheets that I can have?
    Every time I copy a named range is being created, is it something to do with a limited number of names?
    Other?

    Grateful for any advice
    Last edited by VBA Noob; 01-19-2009 at 09:35 AM.
    Phil

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Look in the help files for excel limits, although 30 sheets is not the limit. I think it basically depends on computer memory
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    03-16-2004
    Location
    UK
    MS-Off Ver
    2003
    Posts
    85
    It does seem to helped if I add a sheet and then copy and paste, even though I end up with the same information on the sheets at the end of the day.
    When deleting things like names for ranges and control buttons on the page I think Excel must somehow keeps those things in memory even though they are gone?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1