I want to write a cell in an excel sheet in a particular format, the scenario is
Each time when the For Each loop is executed, it will return only one string value, and the same value will be keep on changing wrt the iteration. Eg
1st iteration it return - Name
2nd iteration it return - MobileNum
3rd iteration it return - email
And again 4th, 5th and 6th it returns Name,MobileNo and Email respectively and it continues.
But there are no three different variables here, instead there is only one (string) variable which will keep on holding the vales such as (Name, MobileNum and email) wrt the iterations
Now,i want to insert the values into an excel sheet in a particular format (refer screen shots attached)