Muokkaa

Jaa


Slicer.Caption property (Excel)

Returns or sets the caption of the specified slicer. Read/write.

Syntax

expression.Caption

expression A variable that represents a Slicer object.

Return value

String

Remarks

The value specified for the Caption property is displayed in the header of the slicer. If the Caption property is not specified, Excel uses the value of the Caption property of the underlying PivotField object.

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.