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

生产力活动

写入单元格

UiPath.Excel.Activities.Business.WriteCellX

描述

在单元格中输入文本或公式。该活动可以与为父级使用 Excel 文件活动选择的 Excel 文件一起使用,也可以与“项目笔记本”一起使用。

要了解如何使用此活动,请参阅:

配置活动

设计器面板

  • What to write - Select Plus on the right side of the field and then, from the menu, select what to enter in the cell:

    • 项目笔记本、父级 Excel 文件或 Outlook 帐户中的数据。例如,在 Excel 文件中选择一个单元格以复制该单元格中的值,或者在执行项目时选择已在 Outlook 中选中的电子邮件字段以复制其内容。
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Text - Enter a text in the Text Builder. If you enter an Excel formula, for example =A2+B2, the formula is entered in the cell.
    • Number - Enter a numeric value.
    • “运行时询问”- 执行项目时提示输入文本。
    • Open in Advanced Editor - Enter a VB expression.
  • Where to write - Select Plus on the right side of the field and then, from the menu, select an Excel file and a named cell where to enter the data, or select Indicate in Excel to indicate directly from the file. Alternatively, you can select Custom Input to enter a cell address manually, or Open in Advanced Editor to enter a VB expression.

  • 自动递增行- 如果活动位于“遍历循环”中,并且您希望相对单元格引用(不带 $ 的引用)以在每次迭代中增加行号,请选择此选项。如果在以下其中一项活动中添加活动,则该选项将生效: “遍历 Excel 中的每一行”“遍历电子邮件”“遍历文件夹中的文件”“重复次数”

属性面板

常见
  • DisplayName - The name displayed for the activity in the Designer panel.
目标
  • 请在活动主体中查看写入位置
输入
  • 请在活动主体中查看写入内容
其他
  • 私有 - 选中后将不再以“Verbose”级别记录变量和参数的值。
选项
  • 请在活动主体中查看自动增加行
  • 描述
  • 配置活动
  • 设计器面板
  • 属性面板

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新