activities
latest
false
Productivity Activities
Last updated Oct 23, 2024

AddSheet

Adds a new sheet to the specified spreadsheet.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Syntax

public ISheet AddSheet(
	ISpreadsheet spreadsheet,
	string sheetName = null,
	int? positionIndex = nullpublic ISheet AddSheet(
	ISpreadsheet spreadsheet,
	string sheetName = null,
	int? positionIndex = null

Parameters

spreadsheet ISpreadsheet
The spreadsheet where to add the new sheet.
sheetName String (Optional)
The name of the new sheet. If left empty, Google Sheets determines the name of the new sheet.
positionIndex Nullable<Int32> (Optional)
Specifies the exact location of the new sheet within the existing spreadsheet. If left empty, the new sheet is added at the end. The first sheet in the spreadsheet is located at index 0.

Return value

ISheet - The new sheet that was added to the spreadsheet.

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