Resource.ID property (Project)

Gets the identification number of a resource. Read-only Long.

Syntax

expression.ID

expression An expression that returns a Resource object.

Remarks

The ID property changes when a resource moves to a new location in a view such as the Resource Sheet. Use the UniqueID property if you want a constant reference to a resource.

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.