Re: "Not enough system resources to display completely"
EXCEL 2010 that almost drove me crazy <?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o> A couple of months ago, I have found out that some older EXCEL workbooks, that worked fine for years in versions from 2000 to 2007, start giving error "Not enough system resources to display completely" when trying to open them on EXCEL 2010.
<o></o> Symptons<o></o> - Opening workbook it gives error "Not enough system resources to display completely"; - Sometimes it hapened and sometimes it did not, even using the same workbook (but different opening sheets); - It never happened during workbook operation, only during opening;<o></o> - My version of EXCEL is 14.0.5128.5000 (32 bits).
<o></o> <o>Since this a rather complex project, I did not related this behavior with EXCEL 2010. I thought It was something that I did wrong.</o> <o></o> <o><o></o></o> A carefull investigation that lasted more than 60 hours of brain and fingertips burning (along with all the sorrow because time was running out too fast), I have reached the following conclusion.
<o></o> Conclusion:<o></o> Opening a workbook EXCEL 2010 which opening active sheet have controls (buttons, checkboxes, etc) in it, it will likelly give you error "Not enough system resources to display completely".
<o></o> Solution 1:<o></o> 1 - Remove controls (button, checkbox, images, listbox, etc) from opening worksheet, save, close and reopen workbook. Everything should be fine.
<o></o> Solution 2:<o></o> 1 - Add a DummySheet(obviously without any controls);<o></o> 2 - Use workbook BeforeSave event to activate DummySheet-This will grant that once the workbook is reopened, opening sheet will be DummySheet, which will not have any controls;<o></o> 3 - Save, Close and Reopen.<o></o> 4 - If everything went fine, you might consider a restyling on DummySheet so opening sheet show something like "Loading data..." <o></o> I hope this tip will ease someone's life and avoid going thru the same nightmare I did. <o></o> Cheers