Slicer.Caption Property (Excel)
Returns or sets the caption of the specified slicer. Read/write.
Version Information
Version Added: Excel 2010
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.