Hi orschiro
You could create a standalone script that finds all the importrange formulas and for example removes the “=” to disable them temporarily. Then once your are inside the spreadsheet you will be able to restore the data you need.
Unfortunately the Freeze Sheet add-on is no longer active/working.
Just wondering, would a function that converts importranges into Sheetgo connections help you?