Share via


Project.Deactivate Event

Project Developer Reference

Occurs when switching from the current project to another project.

Syntax

expression.Deactivate(pj, )

expression   A variable that represents a Project object.

Parameters

Name Required/Optional Data Type Description
pj Required Project The project that was deactivated.

Return Value
nothing

Remarks

The Deactivate event does not occur when you close a project or when you switch between two windows showing the same project.

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

See Also