Set the cell selections for the specified worksheet
Syntax
'Declaration
Sub SetSelection( _
ByVal As Short, _
ByVal As PaneType, _
ByVal As Integer, _
ByVal columnActive As Integer, _
ByVal As Integer, _
ByVal As List(Of Integer), _
ByVal As List(Of Integer), _
ByVal As List(Of Integer), _
ByVal As List(Of Integer) _
)
'Usage
Dim instance As IExcelReader
Dim sheet As Short
Dim paneType As PaneType
Dim rowActive As Integer
Dim columnActive As Integer
Dim selectionCount As Integer
Dim rowFirst As List(Of Integer)
Dim rowLast As List(Of Integer)
Dim colFirst As List(Of Integer)
Dim colLast As List(Of Integer)
instance.SetSelection(sheet, paneType, rowActive, columnActive, selectionCount, rowFirst, rowLast, colFirst, colLast)
Parameters
- sheet
- The zero based sheet index used to locate the IExcelWorksheet instance
- paneType
- The type of the pane
- rowActive
- The zero base active row index
- columnActive
- The zero base active column index
- selectionCount
- The count of the selections in the specified sheet
- rowFirst
- The list contains all selections' top left cell row index
- rowLast
- The list contains all selections' bottom right cell row index
- colFirst
- The list contains all selections' top left cell column index
- colLast
- The list contains all selections' bottom right cell column index
See Also