Find next empty cell
Starting from a cell, walk along its column or row in a direction and return the first empty cell.
Command in the Excel toolkit · id ooa.excel/find_next_empty_cell · 4 inputs, 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Start cell | String | No | Where to start; the cell chosen by go_to_cell, or A1, when empty. | |
| Direction | String | No | down | down or up searches the column, right or left searches the row. |
| Sheet | String | No | Sheet name; active sheet when empty. | |
| Session | String | No | excel | Workbook session. |
Outputs
| Output | Type | What it is |
|---|---|---|
| cell | String | Address of the first empty cell, e.g. A12. |
| row | Number | 1-based row number of that cell. |
| column | Number | 1-based column number of that cell. |