Link Search Menu Expand Document

SSpread.SelectionCount Property

Gets the number of selected cell blocks or the number of rows when multiple rows are selected.

This property is read-only. The initial value is 0.

If the AllowMultiBlocks property is $TRUE, get the number of cell blocks selected. Each cell block selected multiple times can be obtained with the GetSelection method.

When the AllowMultiBlocks, OperationMode properties
property is $OperationModeMulti (multiple selection mode) or $OperationModeExtended (extended multiple selection mode), the number of lines when multiple lines are selected is acquired. The selected line number can be obtained with the GetMultiSelItem method.

Related Items
AllowMultiBlocks, OperationMode properties
GetMultiSelItem, GetSelection method