I copy a whole worksheet then rename the tab. After doing this several times Excel crashes.
In the VBA IDE, the class name for the sheet is Sheet22. After the first copy it is Sheet221, the second copy – Sheet2211, third – Sheet22111, fourth Sheet221111, Etc. until the name is too long. Then I crash. I cannot simply rename the class Sheet221111111111111111111111111 to ‘OtherName’. When I try I simply crash. The only workaround I have found is to copy the contents of all the worksheets to a new workbook. Actually I can copy all but the last worksheet to a new workbook, then copy the contents of the last one.
Is there a fix or a better workaround?