Bill Bordiuk said:
Is there any way to tell what a project's calculation status is? MSP must
know the status because it displays 'Calculate' on the status bar when a
duration has changed. But I can't find any way to access that information.
Ideas?
Bill,
Since you are posting in the developers group I assume your question is
related to VBA. I'm not sure what you mean by "calculation status" but
you can obviously control whether Project calculates automatically or
manually by simply setting the calculation option either manually
(Tools/Options/Calculation tab) or by setting the calculation property
in VBA. At least in VBA for Project 2003, there are also Calculate and
ProjectCalculate Events that occur after a project is calculated. They
may also be available in earlier versions, I didn't look.
As far as when project calculates? Any time there is an user action that
triggers a calculation, such as changing Duration. Some user actions
invoke instant calculation while others may start a calculation sequence
that lasts several seconds (or minutes). For example a very large file
with a lot of linkages or multiple subprojects with several external
links may take a few to several seconds to calculate all changes. The
longest calculation time I've seen was about 15-20 minutes. That was
with an older version of Project employing multiple Paste Links to
emulate external linkages.
Hope this helps.
John