# SpreadsheetSetActiveCell

Sets the active/selected cell.

## Method Signature

```
SpreadsheetSetActiveCell(spreadsheetObj=[any], row=[any], column=[any])
```

### Arguments

| Argument         | Type      | Required | Description                  | Default |
| ---------------- | --------- | -------- | ---------------------------- | ------- |
| `spreadsheetObj` | `ANY`     | `true`   | The spreadsheet object.      |         |
| `row`            | `NUMERIC` | `true`   | The row number (1-based).    |         |
| `column`         | `NUMERIC` | `true`   | The column number (1-based). |         |

## Examples

Set active cell:

```js
// Set cursor to cell B3
var spreadsheet = SpreadsheetNew();
SpreadsheetSetActiveCell( spreadsheet, 3, 2 );
```

## Related

* [SpreadsheetGetActiveCell()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-spreadsheet/reference/built-in-functions/spreadsheetgetactivecell) - Get active cell
* [SpreadsheetSetActiveSheet()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-spreadsheet/reference/built-in-functions/spreadsheetsetactivesheet) - Set active sheet
