Application.DetailStylesToggleItem method (Project)
Toggles the display of a timescale data field in a usage view.
Syntax
expression. DetailStylesToggleItem
( _Item_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Item | Optional | Long | The timescale data field to show or remove. The default value is pjWork. |
Return value
Boolean
Remarks
If the active view is the Resource Usage view, can be one of the following PjTimescaledData constants:
PjTimescaledData Constants | PjTimescaledData Constants Continued |
---|---|
pjActualCost | pjCumulativeCost |
pjActualOvertimeWork | pjCumulativeWork |
pjActualWork | pjCV |
pjACWP | pjOverallocation |
pjAllAssignmentRows | pjOvertimeWork |
pjAllResourceRows | pjPeakUnits |
pjBaselineCost | pjPercentAllocation |
pjBaselineWork | pjRegularWork |
pjBaseline1-10Cost | pjRemainingAvailability |
pjBaseline1-10Work | pjSV |
pjBCWP | pjWork |
pjBCWS | pjWorkAvailability |
pjCost |
If the active view is the Task Usage view, can be one of the following PjTimescaledData constants:
PjTimescaledData Constants | PjTimescaledData Constants Continued |
---|---|
pjActualCost | pjCumulativeCost |
pjActualFixedCost | pjCumulativeWork |
pjActualOvertimeWork | pjCV |
pjActualWork | pjCVP |
pjACWP | pjFixedCost |
pjAllAssignmentRows | pjOverallocation |
pjAllTaskRows | pjOvertimeWork |
pjBaselineCost | pjPeakUnits |
pjBaselineWork | pjPercentAllocation |
pjBaseline1-10Cost | pjPctComplete |
pjBaseline1-10Work | pjRegularWork |
pjBCWP | pjSPIT |
pjBCWS | pjSV |
pjCost | pjSVP |
pjCPI | pjWork |
pjCumPctComplete |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.