Sachin
Your error has nothing to do with indices. The EXCEL LOOP use case requires that the spreadsheet not be empty …that is there should at least be a header + 1 row on the spreadsheet already. The loop iterates through existing rows. I know that it doesn’t quite make sense but just add a value on the first cell of the first row after the header and you will be in the clear.