ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open / Close Workbook Memory issue (https://www.excelbanter.com/excel-programming/317075-open-close-workbook-memory-issue.html)

David Edison

Open / Close Workbook Memory issue
 
I'm doing a project which requires the opening and closing of a lot of
workbooks and I'm hitting memory problems. Therefore I tried the following
test:
If I declare a workbook as an object, then open it, save it under another
name and close it, set the object to be nothing and then repeat this 500
times, memory usage fluctuates but generally increases. Is there a way to
fully clear the object from memory?
I'm using Excel XP SP-2 on Windows XP.


All times are GMT +1. The time now is 09:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com