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

Productivity activities

Last updated Mar 13, 2026

GetSheets

Gets the list of sheets within a workbook.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

IReadOnlyCollection<IWorksheet> GetSheets(
	IWorkbook workbook
)
IReadOnlyCollection<IWorksheet> GetSheets(
	IWorkbook workbook
)

Parameters

workbook IWorkbook : The workbook file to use.

Return value

IReadOnlyCollection<IWorksheet> - The list of sheets.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated