## Worksheet::SelectRange method


Selects a range.

```cpp
void Aspose::Cells::Worksheet::SelectRange(int32_t startRow, int32_t startColumn, int32_t totalRows, int32_t totalColumns, bool removeOthers)
```


| Parameter | Type | Description |
| --- | --- | --- |
| startRow | int32_t | The start row. |
| startColumn | int32_t | The start column |
| totalRows | int32_t | The number of rows. |
| totalColumns | int32_t | The number of columns |
| removeOthers | bool | True means removing other selected range and only select this range. |

## See Also

* Class [Vector](../../vector/)
* Class [Worksheet](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
