filmstar
Computer
- May 9, 2002
- 2
Hi
I have an excel sheet that performs calculations then i use a macro to copy and paste the results into another sheet. The macro then continues to call in new data from a source and the sheet re-calculates and copy and paste again. The sheet is around 10mb in size.
I have 2 issues. Firstly the macro just stops after a period, anything from 10 mins to 10 hours. Secondly the macro takes all the CPU available on my pc. I have included a delay between calling each action 1) calling in source data 2)re-calculating sheet 3) copy and paste. But even during these gaps the macro takes all the cpu. Can i write a better macro that frees up the cpu, i am thinking maybe this 100% cpu usage is stopping the macro?
Can anyone help?
Thanks
I have an excel sheet that performs calculations then i use a macro to copy and paste the results into another sheet. The macro then continues to call in new data from a source and the sheet re-calculates and copy and paste again. The sheet is around 10mb in size.
I have 2 issues. Firstly the macro just stops after a period, anything from 10 mins to 10 hours. Secondly the macro takes all the CPU available on my pc. I have included a delay between calling each action 1) calling in source data 2)re-calculating sheet 3) copy and paste. But even during these gaps the macro takes all the cpu. Can i write a better macro that frees up the cpu, i am thinking maybe this 100% cpu usage is stopping the macro?
Can anyone help?
Thanks