Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Darren,
I tried this for my code which used to take 30+ minutes to execute. Guess what, it takes less than 2 minutes now!!! Thank you so much. Regards Rajesh "Darren Hill" wrote: Are there lots of formulas in those 30 lines? If so, try this before your code: Application.Calculation = xlCalculationManual Application.ScreenUpdating = FALSE and this after: Application.Calculation = xlCalculationAutomatic Application.ScreenUpdating = True Darren Under Pressure wrote: I am relatively new to macro writing. I have written a macro that copies 30 lines of a spreadsheet ( this is a template for student report ) 300 times into the rows below it. Works fine at first, quite fast as one wouls expect. However, as more sections of the 30 lines are copied, it goes slower and slower and takes the best part of 20mins to complete. Any suggestions? Under Pressure |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Speed Up this macro? | Excel Programming | |||
can anybody speed up this macro | Excel Programming | |||
My VBA code works in the step though mode but not at full speed | Excel Programming | |||
My VBA code works in the step though mode but not at full speed | Excel Programming | |||
MACRO Speed? | Excel Programming |