SlicerItem.Selected property (Excel)

Returns or sets whether the slicer item is selected. Read/write for slicers connected to non-OLAP data sources. Read-only for slicers connected to OLAP data sources.

Syntax

expression.Selected

expression A variable that represents a SlicerItem object.

Return value

Boolean

Remarks

True if the slicer item is selected; otherwise, False.

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.