Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.33 KB

Project.Project.ProjectSummaryTask.md

File metadata and controls

47 lines (28 loc) · 1.33 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Project.ProjectSummaryTask property (Project)
project-server
Project.Project.ProjectSummaryTask
88603abc-e988-9ab3-dc83-c44221da13b9
06/08/2017
medium

Project.ProjectSummaryTask property (Project)

Gets a Task object representing the project summary task for the active project. Read-only Task.

Syntax

expression. ProjectSummaryTask

expression A variable that represents a Project object.

Remarks

Local custom fields can be accessed directly from ProjectSummaryTask as task custom fields.

Note

Enterprise project fields are available when a project is opened from Project Server. To access enterprise custom fields, it is necessary to use the SetField and GetField methods along with the FieldNameToFieldConstant method.

Example

The following example sets the local Cost1 task custom field and displays it in a message box.

Sub AddEnterpriseProjectCost1Value() 
    ActiveProject.ProjectSummaryTask.Cost1 = "500.00" 
 
    MsgBox "The Cost1 custom field for the project is: " _
       & ActiveProject.ProjectSummaryTask.Cost1 
End Sub

[!includeSupport and feedback]