Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.InsertResource Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Inserts a new resource in a resource view.

Syntax

expression. InsertResource( ** Type** )

expression An expression that returns an Application object.

Parameters

NameRequired/OptionalData TypeDescription
TypeOptionalPjResourceTypesSpecifies whether the type is a cost, material, or work resource. Can be one of the PjResourceTypes constants. The default is pjResourceTypeWork.

Return Value

Boolean

Remarks

The InsertResource method corresponds to the Insert Resource command on the right-click option menu in the Resource Sheet view or Resource Usage view. The Resource Name cell is selected with . In the Team Planner view, InsertResource creates a row below the last resource, with the name New Resource.

© 2018 Microsoft