Get text and write in to cell one after another

@dhamods use counter variable and in write cell pass the counter variable Refer this