Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've strange problem with copy method in Excel 2003.
Sub Macro1() Sheets("sht1").Select Sheets("sht1").Copy After:=Sheets(3) End Sub When I run this code, it stop on copy method and unexpectedly break application. Of course macro didn't duplicate "sht1". Can anyone give me some help? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there anything interesting with Sht1? Does it exist? Is it hidden?
Do you have at least 3 sheets in that workbook? If those don't help, what does the error message say? beezak wrote: I've strange problem with copy method in Excel 2003. Sub Macro1() Sheets("sht1").Select Sheets("sht1").Copy After:=Sheets(3) End Sub When I run this code, it stop on copy method and unexpectedly break application. Of course macro didn't duplicate "sht1". Can anyone give me some help? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why QUIT method doesn't work after COPY method? | Excel Programming | |||
Copy method failed | Excel Programming | |||
Copy Method | Excel Programming | |||
worksheet copy method | Excel Programming | |||
Copy method fails in IIS | Excel Programming |