#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Calculation

I check the status of recalculation at the beginning of macros and then turn
it off for faster processing. At the end I set it back to whatever it was
(Automatic or Manual). During the macro execution I sometimes recalculate a
sheet. At the end when I turn it back on, there is no need to recalculate
since I've done whatever calculations are needed. Is it possible to prevent
Excel from recalculating when I set Application.Calculation = xlAutomatic ?
Thanks for any help on this.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Calculation


dhstein;396498 Wrote:
I check the status of recalculation at the beginning of macros and then
turn
it off for faster processing. At the end I set it back to whatever it
was
(Automatic or Manual). During the macro execution I sometimes
recalculate a
sheet. At the end when I turn it back on, there is no need to
recalculate
since I've done whatever calculations are needed. Is it possible to
prevent
Excel from recalculating when I set Application.Calculation =
xlAutomatic ?
Thanks for any help on this.Just turn calculation back on in your before_close macro after all the

other tasks have taken place.


--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=110732

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 968
Default Calculation

Doing a Sheet.Calculate flags the workbook as dirty, so that the next time
you get to Automatic Calculation Excel will calculate all open workbooks.

The only way to avoid this is to use Application.Calculate rather than
Sheet.Calculate or Range.Calculate.

If your Automatic recalc is taking a long time you could think about how to
reduce workbook volatility, and how to speed up your calculations.

regards
Charles Williams
Decision Models

"dhstein" wrote in message
...
I check the status of recalculation at the beginning of macros and then
turn
it off for faster processing. At the end I set it back to whatever it was
(Automatic or Manual). During the macro execution I sometimes recalculate
a
sheet. At the end when I turn it back on, there is no need to recalculate
since I've done whatever calculations are needed. Is it possible to
prevent
Excel from recalculating when I set Application.Calculation = xlAutomatic
?
Thanks for any help on this.




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
calculation help please james horne Excel Worksheet Functions 1 April 12th 09 12:27 AM
Need help with Calculation kfr Excel Discussion (Misc queries) 5 March 24th 09 07:18 PM
Multi threaded calculation (multi CPU) - impact on calculation spe Pascal[_2_] Excel Discussion (Misc queries) 1 December 3rd 08 10:46 AM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM


All times are GMT +1. The time now is 04:43 PM.

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"