Activities
latest
false
Banner background image
Productivity Activities
Last updated May 22, 2024

AddWorkbook

Creates a new Excel workbook.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

IWorkbook AddWorkbook(
	string workbookName,
	IDriveItem parentFolder = null,
	string firstSheetName = "Sheet1",
	ConflictBehavior conflictResolution = ConflictBehavior.Fail
)IWorkbook AddWorkbook(
	string workbookName,
	IDriveItem parentFolder = null,
	string firstSheetName = "Sheet1",
	ConflictBehavior conflictResolution = ConflictBehavior.Fail
)

Parameters

workbookName String
The name of the new workbook.
parentFolder IDriveItem (Optional)
The folder to use to create the new workbook.
firstSheetName String (Optional)
The name of the first sheet in the workbook.
conflictResolution ConflictBehavior (Optional)
The expected behavior when a workbook with the same name already exists in the destination folder.

Return value

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