I have a very strange problem. I have a workbook with sheets 1 - 18. But there is no Sheet11 showing in Project Explorer. If I debug.print looping through all the sheets none of the code names come back wit Sheet11. However, I have msgbox that runs on Workbook>Open that is not happening at the proper timing. So I did a search for the msgbox text and I find it on Sheet14 (as I expect), but I also find it on Sheet11. Sheet14 is a User Intro. But Sheet11 does not show up. I can wipe out the code on 11, but the fact that Excel thinks there is an 11 troubles me.
To make matters more fun, a previous backup of this workbook, the User Intro is Sheet11. But that workbook is missing Sheet12. This has been a development measured in months. And I went through a few major redesigns and sheet renaming to re-order the sheets in the Project Explorer window (yep, a little OCD). So no doubt things have been moved around a bit. I have 1000's of lines of VBA, but doubt that plays a role here. I run VBA Code Cleaner often. And the sheet is not visible or hidden. one more bit of info.
I am using 13 customUI ribbon controls. I will randomly have the workbook crash close upon clicking a control (in about 1 out of 20 clicks), but never the same control, and yet to be reproducible.
Just for fun, I am going to ask the question I think I already know the answer. Is there a fix for this? Or this only explainable as a corrupt workbook? Anyone see something like this before? For now I am just going to grab a couple strong drinks and call it a day.
To make matters more fun, a previous backup of this workbook, the User Intro is Sheet11. But that workbook is missing Sheet12. This has been a development measured in months. And I went through a few major redesigns and sheet renaming to re-order the sheets in the Project Explorer window (yep, a little OCD). So no doubt things have been moved around a bit. I have 1000's of lines of VBA, but doubt that plays a role here. I run VBA Code Cleaner often. And the sheet is not visible or hidden. one more bit of info.
I am using 13 customUI ribbon controls. I will randomly have the workbook crash close upon clicking a control (in about 1 out of 20 clicks), but never the same control, and yet to be reproducible.
Just for fun, I am going to ask the question I think I already know the answer. Is there a fix for this? Or this only explainable as a corrupt workbook? Anyone see something like this before? For now I am just going to grab a couple strong drinks and call it a day.