Read Excel Cell
Read Excel Cell
Section titled “Read Excel Cell”Type: excel-read-cell · Package: Excel Activities v1.0.0 · Output: object
Reads the value of a single cell. Use it when you only need a specific piece of information: a total in B10, a date in A1, a configuration parameter in a fixed cell.
How it works
Section titled “How it works”Returns the value of the indicated cell (cell) of the sheet. Accepts session or path — see the two modes.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
cell | expression | Cell address, e.g. "B3". |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | expression | Excel Open session (instead of path). |
path | expression | Route to .xlsx (required if there is no session). |
sheet | expression | Name or 1-based index of the sheet. By default, the first. |
Output
Section titled “Output”Returns a object with the cell value (text, number, date…). Convert it if you need with toNumber(...), str(...), etc.
Example
Section titled “Example”Read Excel Cell path = = asset("config.xlsx") sheet = "Parametros" cell = "B2" → output: limiteIf condition = = toNumber(limite) > 1000 └─ then: Log message = "Límite alto"Related activities
Section titled “Related activities”- Write Excel Cell — write a cell.
- Read Excel Sheet — read the entire sheet at once.
- Find Excel Cell — find a cell by its value.