Application.JobCompleted event (Project)
Occurs when a queued job originating from Project Professional is completed.
Syntax
expression. JobCompleted
( _bstrName_
, _bstrprojGuid_
, _bstrjobGuid_
, _jobType_
, _lResult_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
bstrName | Required | String | Name of the project whose queue job was completed. |
bstrprojGuid | Required | String | GUID of the project whose queue job was completed. |
bstrjobGuid | Required | String | GUID of the job that was completed. |
jobType | Required | Long | Type of the job that was completed. For example, Project Save, Project Publish, or Project Status Update. |
lResult | Required | Long | HResult (error code) of the queue operation. For example, 0 indicates success and E_FAIL indicates failure. |
Return value
Nothing
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.