Skip to main content

Read Spreadsheet Raw Data

Command description

Read the underlying spreadsheet values while preserving value types such as numbers and dates.

Command Input Parameters

input parametersInput parameter typeDescription
Excel ObjectExcelAppSpreadsheet object to read from
Read ModeenumRow, Column, Cell
Row NumberstrOne-based row number; -n means the nth row from the bottom. Required for Row and Cell modes
Column NamestrColumn letter such as A or a one-based column number; -n means the nth column from the right. Required for Column and Cell modes
sheetstrWorksheet name. Defaults to the active worksheet

Command Output Parameters

Output parametersOutput parameter typeDescription
Excel DataanyRaw cell data
tip

The default openpyxl mode does not require the installation of Microsoft Office or Kingsoft WPS. If the table contains formulas that require real-time calculation by Office/WPS, openpyxl will not refresh the calculation results.

Reference

Read Spreadsheet Displayed Data