+ Reply to Thread
Results 1 to 3 of 3

strange 1004 error, cannot copy past 30 sheets

  1. #1
    Registered User
    Join Date
    11-10-2009
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    strange 1004 error, cannot copy past 30 sheets

    Hi,

    I need to copy a certain sheet, serving as a template, as much as there are rows (about 380), so I created this VB script:

    Please Login or Register  to view this content.
    This works, but Excel stops at about 30 sheets and then gives the error:
    Error 1004 while executing:

    Method Copy from class Worksheet failed
    This is translated from Dutch, so it might not be the exact error message

    Any idea how to solve this? I've already granted Excel access rights to VB

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: strange 1004 error, cannot copy past 30 sheets

    see: http://support.microsoft.com/default...84&Product=xlw

  3. #3
    Registered User
    Join Date
    11-10-2009
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: strange 1004 error, cannot copy past 30 sheets

    Thanks Donkey,

    this solved it.

+ 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