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

Application.Projects Property (Project)

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

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
© 2018 Microsoft