# SpreadsheetGetActiveCell

Gets the currently active/selected cell.

## Method Signature

```
SpreadsheetGetActiveCell(spreadsheetObj=[any])
```

### Arguments

| Argument         | Type  | Required | Description             | Default |
| ---------------- | ----- | -------- | ----------------------- | ------- |
| `spreadsheetObj` | `ANY` | `true`   | The spreadsheet object. |         |

## Examples

Get the active cell:

```js
// Get currently active cell
var spreadsheet = SpreadsheetNew();
SpreadsheetSetActiveCell( spreadsheet, 2, 3 );
var activeCell = SpreadsheetGetActiveCell( spreadsheet );
println( activeCell );
```

## Related

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