Write cell activity Object reference is not set to an instance of an object in the second iteration!

Yes !

I’m using Use Excel File activity then inside it I’m using for each row in dt …