Hardcore users only - help needed to clean up a Workbook
I attach a file that drives me mad. I just reported the same to Microsoft. The file is a totally pared back production file. It is substantially empty - I deleted practically all. (The single Worksheet is brand new.) When you pull it up (Enable Content), see Data/Workbook links - you should see two. Now press ALT-F8 and run the only macro in the Workbook ("unhide..."). Check Data/Workbook links again - the links will have disappeared. Look at the trivial macro (ALT-F11) - it does nothing but to iterate over all defined Names. If you want, rebuild the environment in a totally new Workbook. Copy the macro. No problem - the links survive. Sadly, the production sheet is so big that rebuilding it from scratch is not an appealing prospect... ๐
Thanks for your help.
PS: The external references are created by 4 defined Names. And you will easily see (by inspecting the Name Manager) that these references remain, even as Excel believes they have vanished.
Update #1: The attachment is larger than one would expect (from an empty Workbook). This is owed to production data being cached by the links. I just repointed those links to an empty target. It does reduce the file size to 30kB. The problem remains the same.