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

生产力活动

运行演示文稿宏

UiPath.Presentations.Activities.RunMacro

描述

在启用宏的演示文稿中运行指定宏。此活动必须添加到使用 PowerPoint 演示文稿活动中。

The argument of the macro is determined by the Macro Argument activity, which is added in the Run Presentation Macro container when you select Add Macro Argument in the body of the activity. Multiple macro arguments can be added.

项目兼容性

Windows - Legacy | Windows

属性

常见

  • DisplayName - The name displayed for the activity in the Designer panel.

输入

  • Macro name - Name of the macro to run. Alternatively, in StudioX, select Plus on the right side of the field, and then select an option from the menu to determine the macro name:

    • Presentation - Use a value from a presentation file.
    • Notebook - Use the value from a Notebook (such as data from a cell).
    • “运行时询问”- 执行项目时提示输入名称。
    • “从剪贴板粘贴” - 将您以前复制的值粘贴到项目中的剪贴板中。
    • “文本”- 在文本生成器中输入名称。
    • Open in Advanced Editor - Enter a VB expression.
  • Presentation - Presentation in which to enter the datatable. In StudioX, select Plus on the right side of the field, and then select the presentation file where to insert the data table. Alternatively, you enter a VB expression.

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

输出

  • Returned value - Saves the value returned by the macro (if any). In StudioX, select Plus on the right side of the field, and then select an option from the menu to determine how to save the value:

    • Notebook - Saves the value in a Notebook (such as data inside a cell).
    • Copy to clipboard - Saves the returned value to clipboard.
    • PowerPoint - Saves the returned value inside a presentation.
    • “已保存以备后用”- 提示您提供名称以保存值。之后可以更改名称。
    • Open in Advanced Editor - Enter a VB expression.
  • 描述
  • 项目兼容性
  • 属性
  • 常见
  • 输入
  • 其他
  • 输出

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新