Resource.AccrueAt property (Project)

Gets or sets the way a task accrues the cost of a resource assigned to it. Read/write Variant.

Syntax

expression. AccrueAt

expression A variable that represents a Resource object.

Remarks

The AccrueAt property can be one of the PjAccrueAt constants.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.