My file has grown in size to ~30MB, but I've optimized it whenever possible (e.g. hardcoding data after formulas calculate, etc). I used to get this error message -- below -- once every few months, but now I get it nearly every day when running the same VBA that I've used for years. I use Excel 2007. Any tips for figuring out exactly what's causing it? Observations:
- There's no rhyme nor reason for which VBA triggers it (I have ~5 macros that I run one after another...and this error can occur during any of them.)
- I've noticed that when I get this error, I need to close Excel completely and re-open it (after which I can run the macros without problem.) It's not good enough to just close *that particular workbook*...if I do that (while leaving the Excel program open), I'm 100% guaranteed to get the error with the first VBA I run. I need to exit Excel completely and then re-open to stand a chance of running them without error.