Delete slide Version 1 (Net)
Action group: Power Point
Description
Action deletes the selected 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 you want to delete the slide. | Robin.PowerPoint | Yes | |
Slide number | Number of the slide to delete. | Robin.Numeric | Yes |
Special conditions of use
None.
Example of use
Task
There is a Power-Point document with 3 slides. You need to delete slide 3 from the document, save the changes and close the document.
Solution
Use the following actions: Open Power-Point document, Delete slide, Save as, Close Power-Point document.
Implementation
1. Move the Open Power-Point Document action to the workspace and set its parameters:
In the "Path to file" field specify the path to the Power-Point document file.
In the "Visible" field set checkbox = true.
2. Move the "Delete slide" action to the workspace and set its parameters:
In the "The document instance" field specify the instance of the open document from which you want to delete the slide.
In the "Slide number" field specify the value - 3.
3. Move the "Save as" action to the workspace and customize its settings:
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. Start the robot using the "Start" button in the top panel.
Result
The program robot completed successfully. Slide #3 has been deleted from the document.