How can to dyanmically choose between the same name elements

hi friends, i am having trouble selecting view on a this element because it has more than one option to choose. how can i make it dynamic so that it looks at the Name from column name “To” and selects view from there. i have the names on column “to” on a excel sheet and was thinking if i can somehow make the robot look for that name and then select the view button. here is picture below of it

Hija,

Since it is a table, does the view column have an selector that you can dynamically change?

If so: just scrape the datatable, for each row: if col(4).toString="Brown,PT(0’ then click view
where you edit the click view selector based on rowidx

Something like this:
DataSCraping.xaml (11.0 KB)