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

生产力活动

附加范围

UiPath.Excel.Activities.Business.AppendRangeX

描述

复制表格、范围或工作表中的数据,并将其粘贴到另一个指定表格、范围或工作表中的现有数据后面。如果该工作表不存在,则系统会使用“工作表名称”字段中指定的名称新建一个工作表。该活动可以与为父级 “使用 Excel 文件”活动选择的 Excel 文件一起使用,也可以与“项目笔记本”一起使用。

可以复制值、公式、数字和单元格格式,以及转置(旋转)数据。数据将复制到目标位置,如下所示:

  • 如果附加到表格,则现有表格将展开以包含复制的数据。
  • 如果附加到范围,则会扩展现有范围以包含复制的数据。
  • 如果附加到工作表,则从工作表中包含数据的行下方的第一个空行开始添加复制的行。

下表列出了支持的复制附加组合:

复制自附加到
工作表工作表
范围工作表
范围范围
范围单元格
单元格单元格
单元格范围

要了解如何使用此活动,请参阅教程:从网页中提取表数据并在 Excel 中进行编辑

配置活动

设计器面板

  • Excel range to append - Select the plus sign, then select a named range, table, or sheet you want to copy. You can also select Indicate in Excel to open the file, and select a range directly from the file. Another method is to select Custom Input to enter the range manually, or Open in Advanced Editor and enter a VB expression.
  • Append after range - Select the plus sign, then, select a named range, table, or sheet after which you want to paste the copied data. You can also select Indicate in Excel to open the file, and select a range directly from the file. Another method is to select Custom Input to enter the range manually, or Open in Advanced Editor to enter a VB expression.
  • 复制内容 - 选择复制数据的方式。提供以下选项:全部(默认选项)、公式格式
  • “转置” - 如果选中,则系统将旋转复制的范围(行变为列,列变为行)。默认情况下未选中此选项。
  • “含标头”- 如果选中,则系统会将所复制范围中的第一行视为标头行,并且不会复制其中的内容。默认情况下未选中此选项。

属性面板

常见
  • DisplayName - The name displayed for the activity in the Designer panel.
输入
  • 请在活动正文中查看选项。
  • “由列开始”- 从指定列中的第一个空单元格开始附加数据。
其他
  • 私有 - 选中后将不再以“Verbose”级别记录变量和参数的值。
选项
  • “有标题” - 在活动主体中查看“有标题”
  • 描述
  • 配置活动
  • 设计器面板
  • 属性面板

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新