title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Resource.AccrueAt property (Project) |
vbapj.chm131366 |
|
project-server |
|
760e1f6f-04b9-39e0-61a9-43af3813c473 |
06/08/2017 |
medium |
Gets or sets the way a task accrues the cost of a resource assigned to it. Read/write Variant.
expression. AccrueAt
expression A variable that represents a Resource object.
The AccrueAt property can be one of the PjAccrueAt constants.
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
[!includeSupport and feedback]