ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Release Memory (https://www.excelbanter.com/excel-discussion-misc-queries/111503-release-memory.html)

Jeff

Release Memory
 
Hi,

I have a macro, and it uses an array that is pretty big Array(7000,361,26)

So if I call the macro that uses this array over and over, is there any way
to "erase" the array so the memory is used more efficiently and the macro
runs faster? Like a clear memory command?

Thanks

Dave Peterson

Release Memory
 
Look at Erase in VBA's help.

Jeff wrote:

Hi,

I have a macro, and it uses an array that is pretty big Array(7000,361,26)

So if I call the macro that uses this array over and over, is there any way
to "erase" the array so the memory is used more efficiently and the macro
runs faster? Like a clear memory command?

Thanks


--

Dave Peterson


All times are GMT +1. The time now is 08:41 PM.

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