Skip to main content

Read column

Read the values of one column, from the active cell or a start row down to an end row or the last used row.

Command in the Excel toolkit · id ooa.excel/read_column · 7 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ColumnAnyNoColumn letter, 1-based number or header name (looked up in header_row); empty starts at the active cell and reads down its column.
Start rowNumberNo11-based row to start from, e.g. 2 to skip a header.
SheetStringNoSheet name; active sheet when empty.
SessionStringNoexcelWorkbook session.
End rowNumberNo1-based last row to read; the last used row when empty.
Read asStringNovaluevalue returns numbers, dates and booleans as such; text returns what Excel displays, with number formats applied.
Header rowNumberNoRow with the column names. A column given by name is looked up here (row 1 when empty), and reading starts below this row.

Outputs​

OutputTypeWhat it is
valuesListCell values from top to bottom; empty cells are null.