Inside an existing Excel workbook i have an existing "master" sheet. This sheet I want to copy a number of times inside the workbook.
Every time I reach 60 sheets inside my workbook I get "Subscript out of range (Error 9)".
I have made a smal macro which look like this doing the creation of all the sheets:
Sub AppendSheet()
Worksheets("ANLEGG-Utstyrstype MASTER".Copy after:=Worksheets(Worksheets.Count)
End Sub
Is this some (for me unknown) limitation in VBA/Excel or am I doing something wrong ?
Every time I reach 60 sheets inside my workbook I get "Subscript out of range (Error 9)".
I have made a smal macro which look like this doing the creation of all the sheets:
Sub AppendSheet()
Worksheets("ANLEGG-Utstyrstype MASTER".Copy after:=Worksheets(Worksheets.Count)
End Sub
Is this some (for me unknown) limitation in VBA/Excel or am I doing something wrong ?