Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a Macro which update an excel sheet (by opening an other excel file
and copy-paste data) When I update the file, the macro takes about 1 sec. to execute. Often, I have an other sheet which is linked to the updated excel sheet; it takes about 2 minutes to execute the Macro. I decided to desabled automatic calculation by doing: Application.Calculation = xlManual 'Program.. Application.Calculation = xlAutomatic Application.Calculate ('this doesn't affect the speed.. very fast) After doing this, the Macro takes 10 seconds to execute. If I break down the link, it takes 1 second. Why the Macro doesn't 1 second if I desables automatic calculation ? Is there a way to execute my Macro in 1 second by suspending all excel refresh ? Thank you! -- Alex St-Pierre |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Manual vs. Automatic Calculation Speed | Excel Discussion (Misc queries) | |||
Improve speed of saving a large Excel file | Excel Discussion (Misc queries) | |||
Using an Array instead of a Vlookup to improve speed | Excel Programming | |||
How can I Improve query speed? | Excel Programming | |||
Howto Improve speed? | Excel Programming |