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

Productivity Activities

Last updated Dec 6, 2024

ReadRange

Reads and saves the information from a specified Excel workbook range.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

DataTable ReadRange(
	IWorkbook workbook,
	IRange range,
	bool hasHeaders = true,
	CellReadMode cellReadMode = CellReadMode.Values
)DataTable ReadRange(
	IWorkbook workbook,
	IRange range,
	bool hasHeaders = true,
	CellReadMode cellReadMode = CellReadMode.Values
)

Parameters

workbook IWorkbook
The Excel workbook to use.
range IRange
The range to read from.
hasHeaders Boolean (Optional)
Set to True if the first row in the range represents a header row.
cellReadMode CellReadMode (Optional)
The type of information that is read from the cell range.

Return value

DataTable - The information read from the range.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

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