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: 25
Default Run time error (Copy Method of Worksheet class failed)

Hi

I have a macro that makes a copy of particular sheet in the file,
renames it and performs some calculations. The macro contains a loop
and thus it should continue to do this until the loop is completed.
The problem is that the macro stops in between (abruptly) with a run
time error (Copy Method of Worksheet class failed) and on debugging it
highlights the 'copy sheet code' in VBA. Once I close the VBA screen
and try to make copy of the particular sheet manually (using Mouse and
the ctrl key), excel fails to make a copy. I do not understand why this
happens. I than close this file and on reopening the macro works fine
until it encounter this error again.

Do you have any idea why this is happening

Thanks
Karthik Bhat

 
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
Error 1004 Copy method of worksheet class failed Ayo Excel Discussion (Misc queries) 3 March 28th 08 02:05 PM
Run Time Error 1004 Copy method of Worksheet class failed Paul Hitchcock Excel Programming 2 May 4th 05 08:10 PM
Run-Time Error 1004 Copy method of worksheet class failed Don Lloyd Excel Programming 0 July 27th 04 07:27 PM
Run Time error 1004 Paste Method of Worksheet Class Failed Ken Nunn Excel Programming 3 June 29th 04 03:23 PM
HELP!! Excel 2000 Copy of worksheet class failed run time Error 1004 Martin[_6_] Excel Programming 1 August 2nd 03 03:16 PM


All times are GMT +1. The time now is 01:46 AM.

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"