Unable to insert a new data using write a cell in new excel comparing with other excel data

hi Team,

i am comparing the old excel sheet if i found mismatch the record then i need to write a whole record into new excel sheet. but i am failing to write.


Check below post

Mark as solution if this helps