Write Range Exception in Excel Application Scope

Getting below exception while performing Write range ActivityWrite%20Range%20Exception

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)

1 Like

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

cheers :smiley:

Happy learning :smiley:

2 Likes

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

1 Like

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

1 Like

Yey great. @sunilraju

cheers :smiley:

Happy learning :smiley:

2 Likes

Hi @sunilraju

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

cheers :smiley:

Happy learning :smiley:

2 Likes