LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Manual Calculation Problem

Hi Nigel,

The reason for being in automatic mode initially is to perform a one
time setting of constants in the model. I then would like to switch to
manual mode to iterate through the simulation senario.


It is best to take control yourself: switch to manual, change your
constants, then do application.calculate.

Using Range.calculate may be causing you a problem because it does not

calculate (as Excel normally does) in dependency order.
Agreed but excel manually calculates left to right and top to bottom and
the arrangement of the spreadsheet is in this order.

Using Sheet calculate assumes that all precedents for that sheet have

been correctly calculated.
This is currently my problem as the sheets are not calculating.

Admitedly the design of this model is not ideal, however this code
worked fine until yesterday. Excel seem to be ignoring the call to
calculate specific ranges and limited amounts of rows. Anymore comments
are welcome, however I am reluctant to rearrange the model unless it is
a last resort.


If you dont want to rearrange the model then just go for permanent Manual
mode and call application.calculate once per iteration.

Or find out what you have changed in the model that has caused the problem.
Or find out where the calculation time is being spent.


regards
Charles
______________________
Decision Models
The Excel Calculation Site
www.DecisionModels.com


 
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
Can I add to a cell value without manual calculation? Brian Excel Discussion (Misc queries) 1 March 31st 10 01:09 PM
Calculation Manual vs Automatic TJAC Excel Discussion (Misc queries) 3 March 4th 08 10:13 PM
Manual Calculation TeresaD Setting up and Configuration of Excel 7 January 28th 08 08:54 PM
Calculation - Automatic and Manual shepcon Excel Discussion (Misc queries) 1 July 17th 07 05:14 PM
Calculation set as Manual Dan. Excel Discussion (Misc queries) 1 February 14th 06 04:30 PM


All times are GMT +1. The time now is 07:27 AM.

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

About Us

"It's about Microsoft Excel"