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

What do you mean @Rawan.md

Search for activity called write datatable to excel

Then you can just pass this write range outside the for each row

You don’t need write cell for each and every row it will consume so much time

Regards
Sudharsan