Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 don't occur when the project is embedded in another document or application.
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.