I have a fairly complex workbook [ in Excel 2007- on an XP operating system] that has:
- many dynamic ranges
- a class module which allows me to colorize a form containing two multi-page controls
- a class module that positions a form
- two standard modules with code
- six user forms from simple to complex
Recently , I began receiving a message stating: “There aren’t enough systems resources to display completely”.
This began occurring shortly after the addition of the multi-page colorizing class module and the twelve dynamic ranges.
In an effort to get to the root of the problem:
- I experimented by saving different versions of the file after modifying or removing the coloring module and/or the dynamic ranges. Unfortunately, I was still receiving the same message to varying degrees.
- I looked at the Class Modules to make sure that the memory hogging objects were killed to free up resources.
- I did notice in other modules, objects “set” but not released. One instance is a Dictionary object in a form module. But isn’t this released when the form is unloaded?
I’ve read everything online I could find from Microsoft and the various other newsgroups, but much of it was not very helpful.
My question is this:
Aside from those things mentioned by Microsoft that are attributable to this problem [ and which I had tried to compensate for], has anyone had any relative experience in dealing with this? If so, when did they notice the problem and how did they eliminate or work around it?
- For instance, does a computer’s physical make-up or the Operating System have any effect?
- Does the design of the workbook, such as having all the referencing ranges and data lookups on one sheet, create a bottleneck of processes?
- Does every object created, have to be set to nothing when done?
I’m not a developer - just a fairly average self taught Excel user.
Any information that you more experienced users may have would be helpful.
Thanks
Mark
Bookmarks