I have some VBA code that simply calculates an active sheet 10,000 times (a simple loop). Even though I have switched to manual calculation, screen updating off and read through numerous related posts/forums, when I have other specific workbooks open it causes my active workbook to be around 20 times slower - I have a timer in the code so that I can test.
Ultimately, I need to run a Monte Carlo simulation, so 10,000 is actually a low number of calculations I would need to run. It's also quite important that the whole Active sheet calculates (so users can change the calculations in the sheet, and the VBA will just run it 10,000 times.
This issue is consistent with different versions of excel, but I will say that not all open workbooks have the effect of slowing my code down. I am a fairly experienced Excel/VBA user, but am completely stumped... please help.
Here is the code (very, very simple - also have attached the spreadsheet with the code):
Please Login or Register to view this content.
Bookmarks