activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

ReadRange

Reads the contents of the specified range.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Syntax

DataTable ReadRange(
	ISpreadsheet spreadsheet,
	IRange range,
	bool hasHeaders = true,
	ValuesType cellValueType = ValuesType.Values
)
DataTable ReadRange(
	ISpreadsheet spreadsheet,
	IRange range,
	bool hasHeaders = true,
	ValuesType cellValueType = ValuesType.Values
)

Parameters

spreadsheet ISpreadsheet : The Google spreadsheet file to use.

range IRange : The range to read.

hasHeaders Boolean (Optional) : Specifies whether the first row in the range is a header row.

cellValueType ValuesType (Optional) : Specifies the type of value to be read

Return value

DataTable - The data that was read.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated