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

Productivity activities

Last updated Feb 19, 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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.