G
Guest
Hi
I have an Excel file with several worksheets, containing about 170 named cells, some buttons, some drop-downs. I have a macro, that makes copies of one sheet into the same workbook
For n = 1 To kilp Step
Sheets("hkt").Selec
ActiveSheet.Copy Workbooks(failinimi).Sheets(1
Nex
Lately I have begun to receive error messages while copying: "Copy method of worksheet class failed". First the error appeared when attempted to make 40th copy. Now I have added some data to the file and the limit has decreased to 35. I also tried to make copies of other sheets in the workbook and got same error messages, but in different "n" values, depending which sheet I chose to copy.
Does Excel have some limit how many named cells etc there can be in total or something
What could cause this error
BR
taavo
I have an Excel file with several worksheets, containing about 170 named cells, some buttons, some drop-downs. I have a macro, that makes copies of one sheet into the same workbook
For n = 1 To kilp Step
Sheets("hkt").Selec
ActiveSheet.Copy Workbooks(failinimi).Sheets(1
Nex
Lately I have begun to receive error messages while copying: "Copy method of worksheet class failed". First the error appeared when attempted to make 40th copy. Now I have added some data to the file and the limit has decreased to 35. I also tried to make copies of other sheets in the workbook and got same error messages, but in different "n" values, depending which sheet I chose to copy.
Does Excel have some limit how many named cells etc there can be in total or something
What could cause this error
BR
taavo