[]
Selects a given cell.
public void Select(int row, int col)
Public Sub [Select](row As Integer, col As Integer)
| Type | Name | Description |
|---|---|---|
| int | row | Index of the row that contains the selected cell. |
| int | col | Index of the column that contains the selected cell. |
Selects a given cell and optionally scrolls it into view.
public void Select(CellRange rng, bool scrollIntoView)
Public Sub [Select](rng As CellRange, scrollIntoView As Boolean)
| Type | Name | Description |
|---|---|---|
| CellRange | rng | CellRange to select. |
| bool | scrollIntoView | Whether to scroll the new selection into view. |
Selects a given cell and optionally scrolls it into view.
public void Select(int row, int col, bool scrollIntoView)
Public Sub [Select](row As Integer, col As Integer, scrollIntoView As Boolean)
| Type | Name | Description |
|---|---|---|
| int | row | Index of the row that contains the selected cell. |
| int | col | Index of the column that contains the selected cell. |
| bool | scrollIntoView | Whether to scroll the new selection into view. |
Selects cell range and optionally scrolls it into view.
public void Select(int row, int col, int row2, int col2, bool scrollIntoView)
Public Sub [Select](row As Integer, col As Integer, row2 As Integer, col2 As Integer, scrollIntoView As Boolean)
| Type | Name | Description |
|---|---|---|
| int | row | Index of the first row in the selected range. |
| int | col | Index of the first column in the selected range. |
| int | row2 | Index of the last row in the selected range. |
| int | col2 | Index of the last column in the selected range. |
| bool | scrollIntoView | Whether to scroll the new selection into view. |