Replace picture in a word failed

Hello,

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?

Hey!

Download the example from here

https://docs.uipath.com/activities/docs/word-replace-picture

Regards,
NaNi

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?

Thanks

Hello @abdel Try below video