Excel Application Scope: Object reference not set to an instance of an object. in uipath

Hi ,

Iam trying to open an excel with Excel application scope. it shows an error “Excel Application Scope: Object reference not set to an instance of an object. in uipath”.

Please help me to rectify the same

Do you have a screenshot of the activity with its properties?

Can you confirm the value of Json(“Folder_Path”)? Looks like it is Null…

No its not null

From the error message, it is the only possibility i can see… can you test creating a string variable just for the path, right before the excel scope:
Assign-> varPath = Json(“Folder_Path”).ToString+“Names.xlsx”
And in excel scope use that variable.

Can you put a “\” between the two variable.

Json(folderpath).tostring + “\”+“names.xls”

And make sure the names.xlsx is present at the path mentioned.


Mukesh

I checked…now its working fine …thank u

1 Like