Slicer.Name property (Excel)

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

Syntax

expression.Name

expression A variable that represents a Slicer object.

Return value

String

Remarks

The name must be unique across all slicers within a workbook.

The default name uses the text of the field name of the PivotField on which the slicer is based, and if necessary, appends a space and number to make the name unique.

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.