kingofaces
Board Regular
- Joined
- Aug 23, 2010
- Messages
- 68
I have a large macro that typically takes about 30 minutes to complete on a computer at work with Windows XP and Excel 2007. Everything works fine there, but when I save the workbook and try to run the same macro at home on Windows 7 and Excel 2010, I only get about .29% of the calculations done before Excel is grayed out saying it is not responding, and that status bar showing percent completion no longer increases. Only Excel seems to lock up as I can use any other programs freely. It basically runs by using a loop to take information from one row at a time, do calculations for that row, then move on to the next row. I only get about 18 rows in before freezing, but if I set up a break point and keep pressing the play button it seems like there is no issue. Kind of pointless though considering I have nearly 10,000 rows that need to be looped through.
Are there any common problems or incompatibilities to check between the two versions of Excel? I opened up task manager to check and see if for some reason my home computer just couldn't handle the calculations, but the processor is running at a low percent and I still have plenty of memory, not to mention that my home computer has better specs than my work one. There are a lot of calculations going on, but I never had an issue like this while I was developing the macro between home and work. I recently made some changes at the work computer, but tested it there and everything ran smoothly before bringing it home to try.
Any thoughts on starting to troubleshoot this? It shouldn't be an inherent problem in the code as it worked just fine on one computer already, so I'm guessing it most likely has to be a problem between Excel versions? Any thoughts on things to check would be appreciated.
Are there any common problems or incompatibilities to check between the two versions of Excel? I opened up task manager to check and see if for some reason my home computer just couldn't handle the calculations, but the processor is running at a low percent and I still have plenty of memory, not to mention that my home computer has better specs than my work one. There are a lot of calculations going on, but I never had an issue like this while I was developing the macro between home and work. I recently made some changes at the work computer, but tested it there and everything ran smoothly before bringing it home to try.
Any thoughts on starting to troubleshoot this? It shouldn't be an inherent problem in the code as it worked just fine on one computer already, so I'm guessing it most likely has to be a problem between Excel versions? Any thoughts on things to check would be appreciated.
Last edited: