title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.ResetTPStyle method (Project) |
vbapj.chm1508 |
|
project-server |
|
aba4187b-5af3-3a8d-7486-038e9bdae0ae |
06/08/2017 |
medium |
Resets the specified Team Planner style to the default values.
expression.ResetTPStyle (Style)
expression An expression that returns an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Style | Required | PjTeamPlannerStyle | Can be one of the PjTeamPlannerStyle constants. |
Boolean
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 |
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]