Resource.ID property (Project)

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



expression An expression that returns a Resource object.


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.