UiPath Activities Guide

Replace Picture


Identifies all the occurrences of a given picture according to its Alt Text in a Word document and replaces them with another specified image. This activity can only be used within a Word Application Scope activity.



  • DisplayName - The display name of the activity.


  • PictureAltText - The Alt Text of the picture that you want to replace. This field supports only strings and String variables.
  • PicturePath - The path to the picture you want to use as a replacement. This field supports only strings and String variables.


  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Example of Using the Replace Picture Activity

To exemplify how to use this activity, we have built an automation project which replaces all the instances of a picture in a Word document with a specified picture. You can download the workflow here.

Replace Picture

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.