Hi all,

I have a macro which opens a workbook and uses details from it to login to a website, my code below works perfectly for getting into the website however the problem I am having is that once I am in, I am getting errors when trying to select/click/insert values ino other elements on the page, I THINK this is due to the fact that my code is still trying to access element ID's from the original URL whereas once the login has been completed, the page is refreshed and takes you to a home page which has a different URL.

How do i add code to the below so that once the login button has been selected, I can then tell VBA to select the elements in the new URL which has been opened?

Please Login or Register  to view this content.