Slicer.Name property (Excel)
Returns or sets the name of the specified slicer. Read/write.
expression.Name
expression A variable that represents a Slicer object.
String
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.
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.