SSpread.SetSelection Method
| Explanation | Select the cell block on the spreadsheet. Refer to the SelBlockCol, SelBlockCol2, SelBlockRow and SelBlockRow2 properties to get the selected cell block. | |
| Call format | SetSelection(col, row, col2, row2) | |
| Return value | None | |
| Arguments | col | The leftmost column number of the cell block to select |
| row | Row number at the top of the cell block to select | |
| col2 | Rightmost column number of the cell block to select | |
| row2 | Row number at the bottom of the cell block to select | |
| Exception | EXT-28 | An error occurred in the SetSelection method |
| Example of use | | |
| Related item | SelBlockCol, SelBlockCol2, SelBlockRow, SelBlockRow2 properties ClearSelection method | |