Clear Cache For Excel 2007 using VBA

PrashanthNair

New Member
Joined
Jun 10, 2010
Messages
21
Hi guys..

My name is Prashanth from Malaysia. I would like to know if it is possible to clear cache in excel 2007 using VBA. With the higher number of repetition of a calculation such as 1000 times, vba codes goes "Out of Memory". How do we clear this cache to resume the calculation?:outtahere:
 
Have you read Excel's specifications? The number of sheets in a workbook is limited by available memory. Maybe you don't have enough memory to add that may sheets. There isn't a cache to be emptied and I don't know a workaround.
 
Upvote 0
OK..hmm..thanks for your advice..i don't face the same problem with lower number of runs..i also think the memory might be the problem..thanks a lot...:) Is there any possibility to delete the memory so that i can maintain the speed of each run of the macro?..i realize the macro gets slower with higher number of run..is this due to the memory too??..
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top