Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.15 KB

Project.Application.Projects.md

File metadata and controls

43 lines (27 loc) · 1.15 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.Projects property (Project)
project-server
Project.Application.Projects
792b7334-a424-abe1-287e-285d3ab362c7
06/08/2017
medium

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

[!includeSupport and feedback]