Action group: PowerPoint
The action launches a macro in a PowerPoint document.
The PowerPoint document and the name of the macro that is recorded in the document are specified.
A macro is a set of commands and instructions grouped together as a single command to automatically perform a task in a document.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Document Instance | The instance of the PowerPoint document on which the macro will run. | Robin.PowerPoint | Yes | |
Macro name | The name of the macro that will run in the PowerPoint document. | Robin.String | Yes |
It is necessary to make sure that macros are enabled in the PowerPoint document. To do this, go to "Options"→"Security Control Center"→"Macro Options" and check the "Enable all macros" option and check the "Enable all macros" option:
There is a PowerPoint document. You need to launch an existing macro named Create_TextBox, which will create a new text box on the slide.
Existing macros in the PowerPoint document:
Use the actions "Open PowerPoint document", "Run macro", "Save as", "Close PowerPoint document".
The program robot completed successfully.
PowerPoint document slide with a new text field: