Message: Object reference not set to an instance of an object.
Exception Type: System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object. at UiPath.Excel.Activities.WorkbookActivity`1.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)
The excel file has all the data needed, I have used before and never faced such issue…
I advise you to use a excel application scope and use the write range inside, there is two write range activity and the other one don’t need the path because it’s used in the scope.
If you’re stuck with no reason you can try to use this. I remember someone the tolds me to not use this write range, but i don’t have experienced problem myself so it’s just a supposition