Hi,
I have created an Excel workbook with macros to handle budgeting process. This is a very complicated workbook with several excel sheets. The macros in the excel workbook retrieves data from SQL database and stores those values in an temporary collection of a class (object) and once all the data has been retrieved from SQL, the macro then loops through the collection of class (object) and inserts value into excel worksheet.
In the macros I have tried to use best practices such as
- Turning off screen updates and disabling the events
- Turning the calculation mode to manual
Initially I created this workbook in Excel 2003 and when I use to run the macros they use to run at a very good speed.
Recently, I migrated to Excel 2007 and ever since workbook has been running really slow.
Interestingly, I have a test laptop with Excel 2007 (without SP2) and my workbook runs at normal speed but as soon as I install SP2 the speed of macro slows down considerably.
Is there something in Excel 2007 SP2 that could potentially slow down the macros?
Any help would be greatful.
Thanks.
Bookmarks