Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error 1004 Copy method of worksheet class failed | Excel Discussion (Misc queries) | |||
Run Time Error 1004 Copy method of Worksheet class failed | Excel Programming | |||
Run-Time Error 1004 Copy method of worksheet class failed | Excel Programming | |||
Run Time error 1004 Paste Method of Worksheet Class Failed | Excel Programming | |||
HELP!! Excel 2000 Copy of worksheet class failed run time Error 1004 | Excel Programming |