Write Range Exception in Excel Application Scope

Getting below exception while performing Write range Activity

RemoteException wrapping System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Excel.Activities.ExcelInteropActivity`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)

Hi @sunilraju
Did you check your data table if it has value or not. Kindly check Thanks.

cheers :smiley:

Happy learning :smiley:

Fine
Make sure that the output variable of read range that is the datatable variable is with global scope in the variable panel under scope column

—choose the whole sequence in scope for that variable in the variable panel and try once

Cheers @sunilraju

Got it and It got Resolved… Thanks for your quick reply.

Yey great. @sunilraju

cheers :smiley:

Happy learning :smiley:

Hi @sunilraju

Kindly click resolve to close the issue and create another one if you encountered.

cheers :smiley:

Happy learning :smiley: