For Each Row_ Collection was modified; enumeration operation might not execute

Good evening friends, please, someone could help me with that error, I tried many modifications but I don’t understand why I get that error.

The bot reads the dates in column A, then goes to the web to check the exchange rate, this type of exchange must be written in column B. But it only makes one return to the “for each” and that error appears .

Thanks in advance (562.3 KB)

Hi @gh_lzm

Try with for each row Activity!


1 Like

Hi @gh_lzm ,

You cannot mix the For Each Row and Add Data Row activities when you are referring to the same datatable.

Please try to use a temporary datatable, such as tcambioTemp:

This is the demo file updated: TipoDeCambio.xaml (19.6 KB)

Hope it helps!
Best regards,


Thank you very much for your answer, it helped me in the solution

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.