Delete Slide
UiPath.Presentations.Activities.DeleteSlide
Delete a slide from a PowerPoint presentation. This activity must be added inside a Use PowerPoint Presentation activity.
Project Compatibility
Windows - Legacy | Windows | Cross-platform
Cross-platform configuration
- Presentation - Click Plus on the right side of the field to toggle between a local path and a Resource file. We recommend using relative folder paths to accommodate the file structure variations between Windows and Linux during project execution. For example,
newFolderorotherFolder. - Slide number - The index of the slide to be deleted.
Windows configuration
In the body of the activity
- Presentation - Select a presentation file in which to delete the slide.
- Slide number - The index of the slide to be deleted.
Properties panel
Common
- DisplayName - The name displayed for the activity in the Designer panel.
Input
- See the options in the body of the activity.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Windows-Legacy configuration
In the body of the activity
- Presentation - Click Plus on the right side of the field, and then select the presentation file from which to delete a slide.
- Slide number - Click Plus on the right side of the field, then select the presentation file and the slide to delete. Alternatively, use one of the other options in the menu to indicate the slide number:
- Data from the Project Notebook or a parent Excel file. For example, select a cell in an Excel file to use the value in that cell.
- Ask when run - Prompt for the slide number when the project is executed.
- Number - Enter the slide number.
- Use Saved Value - Select a numeric value that you previously saved for later use in the project.
- Open in Advanced Editor - Enter a VB expression.
Properties panel
Common
- DisplayName - The name displayed for the activity in the Designer panel.
Input
- See the options in the body of the activity.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.