Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 1.87 KB

Project.Application.DetailStylesProperties.md

File metadata and controls

62 lines (38 loc) · 1.87 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.DetailStylesProperties method (Project)
vbapj.chm952
vbapj.chm952
project-server
Project.Application.DetailStylesProperties
f066f826-eef2-7f97-dafa-998f7bd70f42
06/08/2017
medium

Application.DetailStylesProperties method (Project)

Sets the format of details in a usage view.

Syntax

expression. DetailStylesProperties( _AlignCellData_, _RepeatRowLabel_, _ShortLabels_, _DisplayDetailsColumn_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
AlignCellData Optional Long Specifies the alignment of data in cells. Can be one of the following PjAlignment constants: pjCenter, pjLeft, or pjRight. The default value is pjRight.
RepeatRowLabel Optional Boolean True if details headers are repeated on all assignment rows. The default value is True.
ShortLabels Optional Boolean True if Project displays short details header names. The default value is True.
DisplayDetailsColumn Optional Long Specifies whether a details column displays. Can be one of the following PjYesNoAutomatic constants: pjAuto, pjNo, or pjYes. The default value is pjYes.

Return value

Boolean

Remarks

Using the DetailStylesProperties method without specifying any arguments displays the Detail Styles dialog box with the Usage Properties tab selected.

Example

The following example hides the details column displays.

Sub DetailStyles_Remove() 
 
    ' Activate the Usage view 
    ViewApply Name:="Task Usage" 
    DetailStylesRemove Item:=pjWork 
End Sub

[!includeSupport and feedback]