How to write cells in a excel inside a loop

Good morning!

I am trying to create a process that after getting the ID of a case in Salesforce (a string variable), this ID is written in an excel.

The thing is that I get hundreds of cases, so the ideal would be that in a loop, write the cases one below the other, that is, in different rows.

I’m trying to recreate the following process:

But it’s giving me problems… help me pls

I’ve uploaded also my recretation

And how the excel looks like, remarking the first cell to be written

Hello Sir in range give like “A”+contdor.tosring error will dissapper and also conditions also missing here.

Use the count you have to write in the cell following this: “A”+Counter.tostring