CostRateTable Object (Project)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a collection of pay rates for a resource. The CostRateTable object is a member of the CostRateTables collection.

Use CostRateTables(Index), where Index is the index number or name of the cost rate table, to return a single CostRateTable object.

Using the CostRateTable Object

The following example changes the standard rate on one of a resource's pay rate tables.

Dim GovtRates As CostRateTable 
 
Set GovtRates = ActiveProject.Resources("Bob").CostRateTables("B") 
GovtRates.PayRates(1).StandardRate = "$10/h"
Show: