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

Productivity activities

Last updated Mar 13, 2026

DeleteSheet

Deletes a sheet from the specified Excel workbook.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

void DeleteSheet(
	IWorkbook workbook,
	string sheetName
)
void DeleteSheet(
	IWorkbook workbook,
	string sheetName
)

Parameters

workbook IWorkbook : The workbook from which to delete the sheet.

sheetName String : The sheet to delete.

  • Syntax
  • Parameters

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated