Hey, i use the function Replace Picture for replace a image in a text but the function dont work in the header. Has anyone a idea for a solution?
The “Replace Picture” function in UiPath is used to replace an image in a Word document. However, it may not work in the header section of the document because the header is a separate section from the main body of the document.
You can try below,
- the “Find and Replace” function and search for the image filename.
- Once you find the image, you can delete it and insert the new image in the header section.
- Another option is to use the Word Object Model in UiPath to manipulate the header section directly. You can use the “Header” property of the “Section” object to access the header section and modify its contents.