M
miha
I have integrated following code teken from
http://groups.google.co.uk/group/mi...read/thread/fb1f029e87a0d5a8/6f9efbd555e9483a
Sub Test()
Dim i As Integer
Application.ScreenUpdating = False
For i = 1 To 100
Sheets("Master").Copy After:=Sheets(Sheets.Count)
Sheets("Master (2)").Name = Format(i, "0000")
Next i
Application.ScreenUpdating = True
End Sub
But when coopying Master sheet I got error at 55th copy. "Runtime error
'1004', Copy method of worksheet class failed"
Problem is allready described here
http://groups.google.com/group/micr...3e26f88a768/537e7df0dd64bfa1#537e7df0dd64bfa1
Does anyone has a sollution as I have to copy Master sheet 500 times.
http://groups.google.co.uk/group/mi...read/thread/fb1f029e87a0d5a8/6f9efbd555e9483a
Sub Test()
Dim i As Integer
Application.ScreenUpdating = False
For i = 1 To 100
Sheets("Master").Copy After:=Sheets(Sheets.Count)
Sheets("Master (2)").Name = Format(i, "0000")
Next i
Application.ScreenUpdating = True
End Sub
But when coopying Master sheet I got error at 55th copy. "Runtime error
'1004', Copy method of worksheet class failed"
Problem is allready described here
http://groups.google.com/group/micr...3e26f88a768/537e7df0dd64bfa1#537e7df0dd64bfa1
Does anyone has a sollution as I have to copy Master sheet 500 times.