hello, i have a macro that runs a few different modules, 4 to be exact.
the 4th one is a loop pushing in equations to 4 different tabs.
when ran by itself the module only takes a minute or so to run but when ran all together it takes 10 minutes to run (2 minutes per tab and at least 2 to caclulate). the first 3 modules run in under a minute combined and are only opening a file, copying over data, and closing the file. there are no love equations prior to module 4 running.
also to note, if i calculate the equations outside of the macro it only takes a couple seconds.
i have tried calculating one sheet at a time and calculating the whole workbook at the end but doesnt make much a difference.
any idea what would make something take sooooo much longer when ran after other modules than just by itself?
the 4th one is a loop pushing in equations to 4 different tabs.
when ran by itself the module only takes a minute or so to run but when ran all together it takes 10 minutes to run (2 minutes per tab and at least 2 to caclulate). the first 3 modules run in under a minute combined and are only opening a file, copying over data, and closing the file. there are no love equations prior to module 4 running.
also to note, if i calculate the equations outside of the macro it only takes a couple seconds.
i have tried calculating one sheet at a time and calculating the whole workbook at the end but doesnt make much a difference.
any idea what would make something take sooooo much longer when ran after other modules than just by itself?