Compare two DataTable with ForEachRow

Hello!
I am trying to compare each row between two datatable but it does not enter in the If sequence, do you know why?
Thanks!

Hi @Juan_Antonio_Goncalves_Ro

Could you share the excel data if not confidential.

Try this in If too:

t(0).ToString.Equals(a(0).ToString)

Regards

let us know more about your use case

In general we would implement data joins, match cases, lookups not with nested loops

Thank u! it is solved with this

Hi @Juan_Antonio_Goncalves_Ro

Thank You.

Happy Automation!!

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