activities
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated 2024年11月21日

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

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。