Application.ProjectBeforePublish event (Project)
Occurs before a Publish operation is placed on the server queue. The ProjectBeforePublish event can be cancelled. Project Professional only.
expression A variable that represents an Application object.
|Cancel||Required||Boolean||True to cancel the Publish job.|
The ProjectBeforePublish event is commonly used to determine whether certain conditions are satisfied and to cancel publishing if the conditions are not met.
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.