For Each inside For Each. Could you help me?

I’m trying to do an automation, which takes certain information from excel and fill out the blanks in an opt-in form on the Internet. (See images attached). When I play it, the name and last name never change, the id change after 3 tries, and the only one that changes every single time is the phone number. Also, the loop never stops. let me know if you can help me.


@julio_mangual you use several nested For Each Loops, and this causes the issue.

You can read the data from Excel file to a Table variable, and then use 1 For Each loop to iterate through the rows in the table to paste the data in the form.

You need to use Indexes to get to specific values in table cells.