How to pass excel to a form

Actually iam login the irctc app and iam filling the details in the quick book after submitting all the details which are in the excel form it goes to the passenger details form.In that i am passing the details from the excel .When i am passing the details the loop is performing but in the first row only it enter the details in the irctc form.It doesnot goes to the next row
How would i recover this.