Slicer.NumberOfColumns property (Excel)
Returns or sets the number of columns in the specified slicer. Read/write.
Syntax
expression.NumberOfColumns
expression A variable that represents a Slicer object.
Return value
Long
Remarks
The default value is 1.
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.