Selects cell range and optionally scrolls it into view.
Syntax
'Declaration
Public Overloads Sub Select( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean _
)
public void Select(
System.int ,
System.int ,
System.int ,
System.int ,
System.bool
)
Parameters
- row
- Index of the first row in the selected range.
- col
- Index of the first column in the selected range.
- row2
- Index of the last row in the selected range.
- col2
- Index of the last column in the selected range.
- scrollIntoView
- Whether to scroll the new selection into view.
See Also