How to execute a url in Excel depending upon cell value


My first question, after a lot of searching.

I have an excel sheet with two columns of data. Column A includes a CustomerID and column B a URL adress.
I have the customer ID I need to find in a string and need to open the relevant URL in Excel. What is the easiest way for me to find the CustomerID in excel and execute the URL?

Appreciate it if you can point me in the right direction or to a topic that’s already dealt with this.

// Phil

Hi Phil

We have Customer id already…

Read the excel as datatable
iterate the datatable using for each
if condion ------ row(0)= customer id
open browser with value of Row(1).tostring

@pmay use read range activity and copy data into datatable

then use below condition

string"[first column name i,e customerID]=’"+inputIDOfCustomer+"’").(0)(1).ToString

It gives corresponding url for your input