Object Reference not set to an instance of an object with excel or CSV

If I am trying to write my bot to either CSV or Excel I am getting a Object Reference not set to an instance of an object error. I have tried leaving the cell number as " " Creating VB Expression, unistalling and reinstalling packages. Nothing is working.

Hi
welcome to uipath community
this error usually occurs when the associated activity has a variable with null value in it
kindly check once with what activity this error is coming up and check with that activity whether it has any variable with null value in it

kindly share the activity that has this error with a screenshot pls
Cheers @cbohs002