Skip to main content

Read range

Read a range, or the used area, of a sheet in a workbook that is open in Excel, including values not yet saved, as a Data Table.

Command in the Open Office files toolkit · id ooa.office_attach/excel_read_range · 5 inputs (1 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
WorkbookStringYesName of the open workbook (Sales.xlsx) or its full path.
SheetStringNoSheet name; the sheet shown in Excel when empty.
RangeStringNoRange to read; the sheet's used area when empty.
First row is the headerBooleanNotrueThe first row holds the column names.
Timeout (seconds)NumberNo60Maximum time in seconds.

Outputs​

OutputTypeWhat it is
tableTableThe cells; columns named from the first row when header is on.
row_countNumberNumber of data rows.