UiPath Documentation
activities
latest
false
Productivity activities

AddSheet

Adds a sheet to the specified Excel workbook.

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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated