DetailStylesProperties Method

Sets the format of details in a usage view.

Syntax

expression**.DetailStylesProperties(AlignCellData, RepeatRowLabel, ShortLabels, DisplayDetailsColumn)**

*expression   *     Optional. An expression that returns an Application object.

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 Microsoft Office Project 2003 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.

Remarks

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

Applies to | Application Object

See Also | DetailStylesAdd Method | DetailStylesFormat Method | DetailStylesRemove Method | DetailStylesRemoveAll Method | DetailStylesToggleItem Method | TimeScaleData Method