Dynamic Google Search and Data Extraction

Hi,
I have an excel sheet with 100 company names. I need to search for its website onlines and extract the website address from the search page onto the excel sheet.
I am able to fetch the excel, open browser, search for the A1 value and open linkedin and extract the website address for that company from the search onto the excel in B1. But it just forms a loop instead of going to the A2 value and so on.

Could anyone please help in this regard?