'Declaration Function GetSelections( _ ByVal rowCount As Integer, _ ByVal columnCount As Integer _ ) As CellRange()
'Usage Dim instance As IDisjointSelections Dim rowCount As Integer Dim columnCount As Integer Dim value() As CellRange value = instance.GetSelections(rowCount, columnCount)
CellRange[] GetSelections( int rowCount, int columnCount )
Parameters
- rowCount
- Number of rows in the sheet
- columnCount
- Number of columns in the sheet
Return Value
Ordered array of CellRange objects, from largest to smallest, containing the selected cells