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

Productivity activities

Last updated Feb 19, 2026

AddSheet

Adds a sheet to the specified Excel workbook.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

string AddSheet(
	IWorkbook workbook,
	string sheetName = null
)
string AddSheet(
	IWorkbook workbook,
	string sheetName = null
)

Parameters

workbook IWorkbook : The workbook where to add the sheet.

sheetName String (Optional) : The name of the new sheet. If a name is not provided, Excel determines the name of the sheet.

Return value

IWorksheet - The new sheet.

  • 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.