Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.07 KB

Project.Resource.AccrueAt.md

File metadata and controls

50 lines (31 loc) · 1.07 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Resource.AccrueAt property (Project)
vbapj.chm131366
vbapj.chm131366
project-server
Project.Resource.AccrueAt
760e1f6f-04b9-39e0-61a9-43af3813c473
06/08/2017
medium

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

[!includeSupport and feedback]