Hello my future savior,
Problem is very simple, but i am finding it hard to get around. I want to capture the URL of a pop-up window using VBA. when i click a link, it open a pop-up window, i used the code:
Cells(2, 3).Value = IE.LocationURL
but it is pasting the link of the already opened webpage, but not the pop-up window. Any help will be highly appreciated. thanks!
Problem is very simple, but i am finding it hard to get around. I want to capture the URL of a pop-up window using VBA. when i click a link, it open a pop-up window, i used the code:
Cells(2, 3).Value = IE.LocationURL
but it is pasting the link of the already opened webpage, but not the pop-up window. Any help will be highly appreciated. thanks!