PivotField.DisplayAsCaption property (Excel)

This property is used to display member properties of PivotFields as captions. Read-only.

Syntax

expression.DisplayAsCaption

expression A variable that represents a PivotField object.

Remarks

This property returns True when a given member property is used as a caption, and False when a member property PivotField is not used as a caption. Trying to use this property for PivotFields that are not member properties will return a run-time error.

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.