+ Reply to Thread
Results 1 to 4 of 4

Error 1004 - Copy Sheet

  1. #1
    Registered User
    Join Date
    01-23-2015
    Location
    Frankfurt
    MS-Off Ver
    MS Office 2007
    Posts
    5

    Question Error 1004 - Copy Sheet

    Hi folks,

    I need your help, as I'm getting now a bit frustrated, as I do not recognize the issue.... Actually the code works fine in 90% of the cases, but for whatever reason for some users from one minute to another not... Means they used it without any problems, and then they getting an error.
    As I know to copy a sheet it must be existing and visible... It is according to the code.
    The Thisworkbook is also the active workbook in at foreground, due that the fact that the userform in this file starts the proccess.
    Also the network drive is available according our network admins.
    So what else can it be?


    Thx you all!
    Cheers
    Artiszta

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Error 1004 - Copy Sheet

    Where do you get the error and what's the error message?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    01-23-2015
    Location
    Frankfurt
    MS-Off Ver
    MS Office 2007
    Posts
    5

    Re: Error 1004 - Copy Sheet

    Honestly I don't know as while debugging we don't get any error.

    As the errormassage is: '#1004 copy method of worksheet class failed', I guess it's in the line:
    Please Login or Register  to view this content.
    Thx!

  4. #4
    Registered User
    Join Date
    01-23-2015
    Location
    Frankfurt
    MS-Off Ver
    MS Office 2007
    Posts
    5

    Re: Error 1004 - Copy Sheet

    Actually the Problem still occurs but I was going another way. Instead of debug this error I was going to the solution of in case of an error a new Workbook shall be created (not copied) and if that also fails, then use Notepad to create the csv file. And finally if that also not succeed then make save the macro file on C:\ for further analysis.

    I found this:http://support.microsoft.com/kb/210684. And however it's not the same issue but means that sometimes coping sheets won't work.
    Last edited by artiszta; 01-28-2015 at 08:48 AM. Reason: Add Link

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Run-time error '1004: Cannot rename the sheet as another sheet as same name
    By narendrabr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2014, 11:49 AM
  2. Copy sheet from another workbook - runtime error 1004
    By larne in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2010, 05:45 AM
  3. Cannot copy&paste chart to new sheet (runtime 1004 error)
    By bubastisbastet in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2010, 07:13 AM
  4. Run-time error 1004 - Cannot copy sheet to new file
    By mjcordeiro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2009, 09:20 AM
  5. Copy sheets causes Error 1004??
    By gpsmith in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-12-2009, 05:47 PM

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