Over a couple years, I think a large file that I've created has become corrupt or bloated, and I'm recreating it from scratch in a new .xlsm document. I don't want any vestiges of the old file to remain (since I want the 'cleanest' new file possible).
1) I first Find/Replaced all of the '=' symbols to a pipe symbol ('|') (so that formulas I pasted to the new file didn't refer to the old file) then copy/paste-as-texted the contents from each of the 9 worksheets to an identically-named worksheet I created in the new file. I then re-replaced all of the pipe (|) symbols with equals's (=) in the new file.
2) I then used the Format Painter tool to copy over the formats (although I first deleted the conditional formatting from the source file, which I think I'll have to recreate by hand, since when I tried to copy it over, the CF formulas referred to the OLD file, which is obviously not good.)
But now I'm left with a bunch of formulas that refer to Named Ranges that don't exist in the new file, resulting in a bunch of #NAME ? errors. I have several hundred of them that I need to bring over from the old file. What's the quickest way to do that? I couldn't find any 'export' function or anything like that...
EDIT (any tips for bringing over the conditional formatting stuff I'd be grateful for as well...)
1) I first Find/Replaced all of the '=' symbols to a pipe symbol ('|') (so that formulas I pasted to the new file didn't refer to the old file) then copy/paste-as-texted the contents from each of the 9 worksheets to an identically-named worksheet I created in the new file. I then re-replaced all of the pipe (|) symbols with equals's (=) in the new file.
2) I then used the Format Painter tool to copy over the formats (although I first deleted the conditional formatting from the source file, which I think I'll have to recreate by hand, since when I tried to copy it over, the CF formulas referred to the OLD file, which is obviously not good.)
But now I'm left with a bunch of formulas that refer to Named Ranges that don't exist in the new file, resulting in a bunch of #NAME ? errors. I have several hundred of them that I need to bring over from the old file. What's the quickest way to do that? I couldn't find any 'export' function or anything like that...
EDIT (any tips for bringing over the conditional formatting stuff I'd be grateful for as well...)
Last edited: