I am attempting to set the bookmark content of a Word document and receiving the following error. Any ideas? I’m happy to provide further information if needed.
UiPath v20.4.3
Source: Set Bookmark Content
Message: The range cannot be deleted.
Exception Type: System.Runtime.InteropServices.COMException
RemoteException wrapping System.Runtime.InteropServices.COMException: The range cannot be deleted.
at UiPath.Word.Activities.WordInteropActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)