Okay, well anyway... I've done some tinkering on my own, and here's the code that I've come up with:
So, whenever a cell on the Summary sheet is selected, it automatically runs the code and clears out any rows containing a broken link. Woo! That's great and all. But is there a way that I can make Excel automatically switch to cell A1 on the Summary sheet when a sheet is deleted? I've looked everywhere and can't find an answer. This way, as soon as a sheet is deleted, it would select a cell on the Summary sheet, which would make it update and remove the broken links.
I've tried some things that sound like they would work in my head... Like If Sheets(Sheets.Count)-1 Then (run the code), or If ActiveWindow.ActiveSheet.Delete Then (run the code), etc. Can't get anything to work.
Bookmarks