ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel Camera Tool Leaks memory stops VBA (https://www.excelbanter.com/excel-programming/408973-excel-camera-tool-leaks-memory-stops-vba.html)

[email protected]

Excel Camera Tool Leaks memory stops VBA
 
I have a macro which loads a template file with an Excel dashboard
report in. This includes several camera tool objects. It works Ok
first time then the macro slows to a stop the next. If I remove the
camera tool objects it is fine. I can only assume they are hogging
memory. Anyone found this or have a solution?

Barb Reinhardt

Excel Camera Tool Leaks memory stops VBA
 
I had a similar problem when I was defining multiple Worksheet objects and
not setting them back to "NOTHING" when I wasn't using them anymore.
--
HTH,
Barb Reinhardt



" wrote:

I have a macro which loads a template file with an Excel dashboard
report in. This includes several camera tool objects. It works Ok
first time then the macro slows to a stop the next. If I remove the
camera tool objects it is fine. I can only assume they are hogging
memory. Anyone found this or have a solution?


[email protected][_2_]

Excel Camera Tool Leaks memory stops VBA
 
On Apr 8, 3:24*am, wrote:
I have a macro which loads a template file with an Excel dashboard
report in. This includes several camera tool objects. It works Ok
first time then the macro slows to a stop the next. If I remove the
camera tool objects it is fine. I can only assume they are hogging
memory. Anyone found this or have a solution?


Try adding "DoEvents" to let the operating system swap out to other
non-Excel OS/cleanup tasks.

Probably won't help - but it's a good idea!


All times are GMT +1. The time now is 07:04 AM.

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