ProjectResourceNew Event

Occurs when a new resource is created.

Syntax

Private Sub object_ProjectResourceNew(ByVal   pj   As MSProject.Project,   ID   As Long)

object     An object of type Application declared with events in a class module. For more information, see Using events with the Application object.

pj     The project where the task was just created.

ID     The ID of the task that was just created.

Remarks

Project events do not occur when the project is embedded in another document or application.

Applies to | Application Object

See Also | ProjectAssignmentNew Event | ProjectTaskNew Event