Hi all,
I have an unusual VBA Out of Memory Error.
I have a spreadsheet which I have restored from backup, which opens fine, behaves fine, and does all it should (it contains about 10 modules, none of which is bigger than 64kb). It contains a couple of very small forms. It also contains about 50 public constants, and a similar number of public enums.
If I close it (without saving) and subsequently re-open it, all is still well.
As soon as I save it (even without having made any changes - i.e., open it, save it, close it with no other action taken) I get a VBA "Out of Memory" pop-up on re-opening it......
....so it appears as if the act of saving it causes the "Out of Memory" error.
"Save As..." has no effect - same OoM error.
I have had a search around the interweb and can find nothing describing a similar error (although I have checked all the other causes of OoM errors (module size etc) that I can understand, but none of them make any difference). The spreadsheet itself is only about 2.8Mb. I have similar workbooks (different versions from the same "parent template") which have even more public constants and enums, with no issues.
Anyone seen anything like this before, or does anyone have any ideas as to where I might look for a fix please?
Thanks
Phil
I have an unusual VBA Out of Memory Error.
I have a spreadsheet which I have restored from backup, which opens fine, behaves fine, and does all it should (it contains about 10 modules, none of which is bigger than 64kb). It contains a couple of very small forms. It also contains about 50 public constants, and a similar number of public enums.
If I close it (without saving) and subsequently re-open it, all is still well.
As soon as I save it (even without having made any changes - i.e., open it, save it, close it with no other action taken) I get a VBA "Out of Memory" pop-up on re-opening it......
....so it appears as if the act of saving it causes the "Out of Memory" error.
"Save As..." has no effect - same OoM error.
I have had a search around the interweb and can find nothing describing a similar error (although I have checked all the other causes of OoM errors (module size etc) that I can understand, but none of them make any difference). The spreadsheet itself is only about 2.8Mb. I have similar workbooks (different versions from the same "parent template") which have even more public constants and enums, with no issues.
Anyone seen anything like this before, or does anyone have any ideas as to where I might look for a fix please?
Thanks
Phil