AccrueAt Property
Returns or sets when a task accrues the cost of a resource. Read/write Long.
PjAccrueAt
Constant | Description |
---|---|
pjStart | Task accrues the cost of the resource when the task starts |
pjProrated | Task accrues the cost of the resource as the task progresses |
pjEnd | Task accrues the cost of the resource when the task ends |
Example
The following example sets the AccrueAt property to pjProrated for each resource in the active project.
Sub SetProratedAccrueAt()
Dim R As Resource ' Resource object used in For Each loop
' Cause tasks to accrue the cost of resources during the task.
For Each R In ActiveProject.Resources
R.AccrueAt = pjProrated
Next R
End Sub
Applies to | Resource Object, Resources Collection Object
See Also | CostPerUse Property | OvertimeRate Property | StandardRate Property