Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.OptionsCalculation Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Sets calculation options.

Syntax

expression. OptionsCalculation( ** Automatic, ** AutoTrack, ** SpreadPercentToStatusDate, ** SpreadCostsToStatusDate, ** AutoCalcCosts, ** FixedCostAccrual, ** CalcMultipleCriticalPaths, ** CriticalSlack, ** SetDefaults, ** CalcInsProjLikeSummTask, ** MoveCompleted, ** AndMoveRemaining, ** MoveRemaining, ** AndMoveCompleted, ** EVMethod, ** EVBaseline )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
AutomaticOptionalBooleanTrue if the calculation mode is automatic.
AutoTrackOptionalBooleanTrue if task tracking fields automatically update resource assignments.
SpreadPercentToStatusDateOptionalBooleanTrue if edits to total task percent complete are spread to the status date.
SpreadCostsToStatusDateOptionalBooleanTrue if edits to total actual cost are spread to the status date. The SpreadCostsToStatusDate argument is ignored if AutoCalcCosts is True.
AutoCalcCostsOptionalBooleanTrue if actual costs are always calculated by Project.
FixedCostAccrualOptionalLongThe default method used to accrue fixed costs. Can be one of the following PjAccrueAt constants: pjStart, pjEnd, or pjProrated.
CalcMultipleCriticalPathsOptionalBooleanTrue if Project calculates multiple critical paths for the project.
CriticalSlackOptionalIntegerThe maximum amount of slack allowed for critical tasks.
SetDefaultsOptionalBooleanTrue if the values specified for all arguments except Automatic become the default for new projects.
CalcInsProjLikeSummTaskOptionalBooleanTrue if subprojects in a master project behave like normal summary tasks. False if subprojects are calculated on their own. The default value is False.
MoveCompletedOptionalBooleanTrue if Project moves the end of completed parts after the status date back to the status date.
AndMoveRemainingOptionalBooleanTrue if Project moves the start of remaining parts back to the status date.
MoveRemainingOptionalBooleanTrue if Project moves the start of remaining parts before the status date forward to the status date.
AndMoveCompletedOptionalBooleanTrue if Project moves the end of completed parts forward to the status date.
EVMethodOptionalLongThe default method for calculating earned value. Can be one of the following PJEarnedValueMethod constants: pjPercentComplete or pjPhysicalPercentComplete.
EVBaselineOptionalLongThe baseline to use when calculating earned value. Can be one of the following PjBaselines constants: pjBaseline, or pjBaseline1. . . pjBaseline10.

Return Value

Boolean

Remarks

If an argument is omitted, its default value is specified by the setting on the Schedule tab of the Project Options dialog box.

Using the OptionsCalculation method without specifying any arguments displays the Project Options dialog box with the General tab selected.

© 2018 Microsoft