Add slide Version 2 (Net)
Action group: Power Point
Description
Action adds a slide
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
The document instance | An instance of an open PowerPoint document where the slide is to be added. | Robin.PowerPoint | Yes | |
Slide number | Sequential number of the slide to be added. | Robin.Numeric | Yes |
Special conditions of use
None.
Example of use
Task
There is a PowerPoint document. You need to add a new slide to the document, save the changes and close the document.
Solution
Use the following actions: Open PowerPoint document, Add slide, Save as, Close PowerPoint document.
Implementation
1. Move the Open PowerPoint document action to the workspace and set its settings:
In the "Path to file" field specify the path to the PowerPoint document file.
In the "Visible" field set checkbox = true.
2. Move the "Add Slide" action to the workspace and set its parameters:
In the "The document instance" field specify the instance of the open document where you want to insert the new slide.
In the "Slide number" field specify the value - 2.
3. Move the "Save as" action to the workspace and set its parameters:
In the "The document instance" field, specify the instance of the open document to be saved.
4. Move the "Close" action to the working area and set its parameters:
In the "The document instance" field, specify the instance of the open document to be closed.
5. Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully. The new slide is inserted into the document.