Activities
latest
false
Banner background image
Productivity Activities
Last updated Apr 15, 2024

Replace Text in Presentation

UiPath.Presentation.Activities.FindAndReplaceTextInPresentation

Replaces a specified text within a presentation with another text. This activity must be added inside a Use PowerPoint Presentation activity.

Properties

Common
  • DisplayName - The name displayed for the activity in the Designer panel.
Input
  • Find what - Text to be replaced. Only String variables and strings are supported. Alternatively, in StudioX, click Plus on the right side of the field, and then select one of the options from the menu:

    • Data from the Project Notebook, a parent Excel file or email account. For example, select a cell in an Excel file to use the value in that cell.
    • Ask when run - Prompt for the name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project..
    • Text - Enter the text in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Presentation - Presentation in which to replace the text. In StudioX, click Plus docs image on the right side of the field, and then select the presentation file in which to replace text. Alternatively, you enter a VB expression.
  • Replace with - The text to replace with. Only String variables and strings are supported. Alternatively, in StudioX, click Plus on the right side of the field, and then select one of the options from the menu:

    • Data from the Project Notebook, a parent Excel file or email account. For example, select a cell in an Excel file to use the value in that cell.
    • Ask when run - Prompt for the name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project..
    • Text - Enter the text in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Match case - Indicates whether to replace the text that only matches specific capitalization.
  • Whole words only - If selected, indicates that only entire words should be replaced. If not selected, text that is part of a larger word is also replaced. This option is not selected by default.
  • Replace all - If selected, indicates that all occurrences of the text should be replaced. If not selected, only the first occurrence of the text is replaced. This option is selected by default.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • Number of replacements - Optionally, save the number of replacements made. In StudioX, click Plus on the right side of the field, and then select one of the options from the menu:

    • Excel - Saves the value to a cell in an Excel file or the Project Notebook.
    • Copy to clipboard - Saves the returned value to clipboard.
    • Save for Later Use - Prompts to provide a name to save the value. The name can be changed afterwards.
    • Open in Advanced Editor - Enter a VB expression.
  • Properties

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.