activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity Activities

Last updated Dec 17, 2024

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, newFolder or otherFolder.
  • 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.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.