Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.ActiveProject Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets a Project object that represents the active project. Read-only Project.

Syntax

expression. ActiveProject

expression A variable that represents an Application object.

Example

The following example adds the date and time to the Comments field in the project Properties dialog box and then saves the project.

Sub SaveAndNoteTime() 
 ActiveProject.ProjectNotes = ActiveProject.ProjectNotes &; vbCrLf _ 
 &; "This project was last saved on " &; Date$ &; " at " &; Time$ &; "." 
 FileSave 
End Sub
© 2018 Microsoft