Break links on multiple Excel files with a VBScript macro
A finance department that I'm working with needs a way to archive a ton of Excel files before migration. They're using cross-file links in their formulas (e.g. =xlookup('OtherFile.xlsx',A1)
) and were concerned that users would accidentally trigger a refresh after their data was moved into a new SharePoint tenant and change historical records.
They started the manual task of opening each Excel file, selecting all, copying, then pasting values. Lots of Ctrl+A, Ctrl+C, Ctrl+Shift+V, click, Ctrl+S, Ctrl+W.
To make this easier and faster, I created a VBScript that allows you to pick some files and break the links on all of them.