Read cell formula
Return the formula a cell (or the active cell) holds, or an empty text when it holds a plain value.
Command in the Excel toolkit · id ooa.excel/read_formula · 3 inputs, 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Cell | String | No | Cell address; the active cell (set by go_to_cell) when empty. | |
| Sheet | String | No | Sheet name; active sheet when empty. | |
| Session | String | No | excel | Workbook session. |
Outputs
| Output | Type | What it is |
|---|---|---|
| formula | String | Formula starting with =, or empty. |
| has_formula | Boolean | True when the cell holds a formula. |