Skip to main content

Each row in a worksheet

Yield each row of a sheet (or of a range) of an open workbook as a record keyed by the header names (Column1, Column2 ... without a header).

Loop type in the Excel toolkit · id ooa.excel/rows · 8 inputs, no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SheetStringNoSheet name; active sheet when empty.
RangeStringNoOnly this range, e.g. A1:D50; the used area when empty.
First row is the headerBooleanNoFirst row holds column names; the workbook's open setting (true by default) when empty.
SessionStringNoexcelWorkbook session.
Read asStringNovaluevalue returns numbers, dates and booleans as such; text returns what Excel displays, with number formats applied.
Include hiddenBooleanNotrueInclude hidden rows; false skips rows hidden by a filter.
From rowNumberNoOnly from this sheet row number on (the header row, when there is one, still gives the column names); from the first row when empty.
To rowNumberNoOnly up to this sheet row number, included; to the last used row when empty.