Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 88
Default Disable calculations to speed up Macro

I have a fairly large spreadsheet, that takes a long time to run due to the
number of times it re-calculates.
Is there any way i can using code, disable the calculation at the start of
the routine and then re-enable at the end?

Regards
Lee
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Disable calculations to speed up Macro

Application.calculation = xlcalculationmanual

your code

Application.calculation = xlcalculationautomatic


On Sep 18, 7:42*am, leerem wrote:
I have a fairly large spreadsheet, that takes a long time to run due to the
number of times it re-calculates.
Is there any way i can using code, disable the calculation at the start of
the routine and then re-enable at the end?

Regards
Lee


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Disable calculations to speed up Macro

Application.Calculation = xlCalculationManual

....your code

Application.Calculation = xlCalculationAutomatic

--
__________________________________
HTH

Bob

"leerem" wrote in message
...
I have a fairly large spreadsheet, that takes a long time to run due to the
number of times it re-calculates.
Is there any way i can using code, disable the calculation at the start of
the routine and then re-enable at the end?

Regards
Lee



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed up macro nc Excel Discussion (Misc queries) 2 November 23rd 06 02:10 PM
How to increase calculations speed in pivot table with calculated fields & items [email protected] Excel Discussion (Misc queries) 0 August 4th 06 09:25 AM
Range Name affecting speed of macro Richard Buttrey Excel Worksheet Functions 5 May 1st 06 03:06 PM
Help, need to speed up this macro retseort Excel Discussion (Misc queries) 3 January 12th 06 12:33 PM
Speed up macro rn Excel Discussion (Misc queries) 3 February 21st 05 01:25 PM


All times are GMT +1. The time now is 01:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"