activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

生产力活动

上次更新日期 2026年1月14日

添加工作表

将新工作表添加到指定的电子表格。

命名空间:UiPath.Gsuite.Activities.API

程序集:UiPath.Gsuite.Activities.API(在 UiPath.Gsuite.Activities.API.dll 中)

语法

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

参数

Elasticsearch ISpreadsheet :要在其中添加新工作表的电子表格。

SheetName String (可选):新工作表的名称。如果留空,则 Google 表格将为新工作表命名。

位置索引Nullable<Int32> (可选):指定新工作表在现有电子表格中的确切位置。如果留空,则系统会将新工作表添加到末尾。电子表格中的第一个工作表位于索引 0 处。

返回值

工作表- 添加到电子表格的新工作表。

  • 语法
  • 参数
  • 返回值

此页面有帮助吗?

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