Replace picture in a word failed


I’m trying to replace a picture into a word:

the following error appear :

RemoteException wrapping System.Runtime.InteropServices.COMException: Nom de fichier non valide.
Essayez les opérations suivantes :
* Vérifiez votre saisie.
* Sélectionnez un fichier dans la liste des dossiers et fichiers. 
   à UiPath.Word.Activities.WordInteropActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
   à System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
   à System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

I used replace with alternative text, have anyone got this issue previously?


Download the example from here


it replace the picture but move th new on in the top of the page.

is there any methode to keep the picture at the same place?

Hello @abdel

Did you tried using bookmarks instead of doing the replacement?


Hello @abdel Try below video