title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Application.Projects property (Project) |
project-server |
|
792b7334-a424-abe1-287e-285d3ab362c7 |
06/08/2017 |
medium |
Gets a Projects collection representing the open projects. Read-only Projects.
expression. Projects
expression A variable that represents an Application object.
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.
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
[!includeSupport and feedback]