Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.43 KB

Project.Application.ResetTPStyle.md

File metadata and controls

58 lines (38 loc) · 1.43 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.ResetTPStyle method (Project)
vbapj.chm1508
vbapj.chm1508
project-server
Project.Application.ResetTPStyle
aba4187b-5af3-3a8d-7486-038e9bdae0ae
06/08/2017
medium

Application.ResetTPStyle method (Project)

Resets the specified Team Planner style to the default values.

Syntax

expression.ResetTPStyle (Style)

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Style Required PjTeamPlannerStyle Can be one of the PjTeamPlannerStyle constants.

Return value

Boolean

Remarks

The PjTeamPlannerStyle constants are equivalent to the five styles shown in the Format tab of the Team Planner Tools in the ribbon, as follows:

Constant Style
pjTPActualWork Actual Work
pjTPLateTask Late Task
pjTPManualTask Manually Scheduled
pjTPScheduledWork Auto Scheduled
pjTPSRA External Task

Example

The following line of code resets the border color and fill color of auto-scheduled assignments in the Team Planner to their default values.

ResetTPStyle Style:=pjTPScheduledWork

[!includeSupport and feedback]