Application.Projects property (Project)
Gets a Projects collection representing the open projects. Read-only Projects.
Syntax
expression. Projects
expression A variable that represents an Application object.
Remarks
To see the Project Properties dialog box, choose the FILE tab to show the Backstage view. On the Info tab, select the Project Information drop-down menu, and then choose Advanced Properties.
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()
Projects(1).ProjectNotes = Projects(1).ProjectNotes & vbCrLf _
& "This project was last saved on " _
& Date$ & " at " & Time$ & "."
FileSave
End Sub
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.