Why could my macro slow down?
Hi
I have a large spreadsheet with millions of formulas with a macro that takes 8hrs to run a full cycle.
Everything for the macro has worked fine until I recently made so changes to check results which doubled the file size. Basically it runs threw a loop, calculates all the data in a new line then repeats the process about 1000 times. The data captured was 1 row and 450 columns wide, to capture the data I wanted for testing this was increased to about 6000 columns. The macro starts off fine but with each passing it slows a little until it gets close to 100 times threw then it starts to really slowdown. I have to stop the sheet, save it, close it which can take a while and the longer I let it run the longer it takes to close then reopen the sheet and continue the macro.
Since it worked fine before with less columns am I just pushing what excel can do. I run this on a 7700K OC to 5GHZ with 32 gigs or ran.
If you have any idea please let me know.
MM
Hi
I have a large spreadsheet with millions of formulas with a macro that takes 8hrs to run a full cycle.
Everything for the macro has worked fine until I recently made so changes to check results which doubled the file size. Basically it runs threw a loop, calculates all the data in a new line then repeats the process about 1000 times. The data captured was 1 row and 450 columns wide, to capture the data I wanted for testing this was increased to about 6000 columns. The macro starts off fine but with each passing it slows a little until it gets close to 100 times threw then it starts to really slowdown. I have to stop the sheet, save it, close it which can take a while and the longer I let it run the longer it takes to close then reopen the sheet and continue the macro.
Since it worked fine before with less columns am I just pushing what excel can do. I run this on a 7700K OC to 5GHZ with 32 gigs or ran.
If you have any idea please let me know.
MM