Skip to main content

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​

InputTypeRequiredDefaultWhat it is
CellStringNoCell address; the active cell (set by go_to_cell) when empty.
SheetStringNoSheet name; active sheet when empty.
SessionStringNoexcelWorkbook session.

Outputs​

OutputTypeWhat it is
formulaStringFormula starting with =, or empty.
has_formulaBooleanTrue when the cell holds a formula.