Task.ActualCost Property
Project Developer Reference |
Returns the actual cost for an assignment, resource, or task. Read-only Variant.
Syntax
expression.ActualCost
expression A variable that represents a Task object.
Return Value
Variant
Remarks
The ActualCost property can be set for Assignment and Task objects (but not summary tasks) if the Actual costs are always calculated by Microsoft Office Project check box has been cleared on the Calculation tab of the Options dialog box.
Example
The following example prompts the user for actual costs of tasks with no resources in the active project. It assumes that the Actual costs are always calculated by Microsoft Office Project check box has been cleared.
Visual Basic for Applications |
---|
|
See Also