Contains an object reference to the Project object for the currently active Project Manager window. Read-only at design time and run time.
Syntax
Object.ActiveProject
Remarks
The ActiveProject property contains an object reference to the Project object for the foremost Project Manager window when more than one Project Manager window is open. An error is generated if you attempt to access the ActiveProject property when a Project Manager window isn’t open.
For more information about projects, see Project Manager Hooks in Chapter 32, “Application Development and Developer Productivity,” of the Programmer's Guide.