Subscribe

UiPath Activities

The UiPath Activities Guide

Run Presentation Macro

UiPath.Presentations.Activities.RunMacro

Runs a specified macro in a macro-enabled presentation.

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

Properties

Common

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

Input

  • Macro name - Name of the macro to run. Alternatively, in StudioX, click Plus plus buttonplus button 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).
    • Ask when run - Prompt for the name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
    • Text - Enter the name in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Presentation - Presentation in which to enter the datatable. In StudioX, click Plus plus buttonplus button 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.

Misc

  • Private - If selected, the data used in the activity is not logged by Studio or StudioX.

Output

  • Returned value - Saves the value returned by the macro (if any). In StudioX, click Plus plus buttonplus button 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.
    • Save for Later Use - Prompts to provide a name to save the value. The name can be changed afterwards.
    • Open in Advanced Editor - Enter a VB expression.

Updated about a month ago


Run Presentation Macro


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.