#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 471
Default Calculate

I have a spreadsheet with a lot of formulas in it. In order to run the macro
faster, I turn the recalc to manual, run my process, and turn the recalc back
to automatic. In a loop within the code, however, I have to change the value
of a cell which will create the need for a calculate statement to be issued.
My question, if I issue the calculate statement, do I need to pause so that
all cells can be recalculated or can I assume that cells that I pick up
values for and assign to variables will be calculated? How long do I pause?
How can I know how long to pause programatically?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Calculate

Your process should continue automatically once the recalc is completed,
therefore a pause shouldn't be necessary.

"Mike H." wrote:

I have a spreadsheet with a lot of formulas in it. In order to run the macro
faster, I turn the recalc to manual, run my process, and turn the recalc back
to automatic. In a loop within the code, however, I have to change the value
of a cell which will create the need for a calculate statement to be issued.
My question, if I issue the calculate statement, do I need to pause so that
all cells can be recalculated or can I assume that cells that I pick up
values for and assign to variables will be calculated? How long do I pause?
How can I know how long to pause programatically?

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
calculate time does not calculate Wanna Learn Excel Discussion (Misc queries) 4 August 19th 08 12:51 AM
Activesheet.Calculate failing to calculate Daniel Bonallack Excel Programming 2 October 11th 06 03:16 AM
Calculate Anant Arde Excel Programming 1 November 30th 05 01:32 AM
Calculate only if... cribology - ExcelForums.com Excel Discussion (Misc queries) 3 July 26th 05 06:54 PM
Macro that hide or unhide and not calculate or calculate Jonsson Excel Programming 1 August 19th 03 04:22 PM


All times are GMT +1. The time now is 08:37 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"