Navigating sub page URLs via VBA

ToniGo

New Member
Joined
Oct 2, 2013
Messages
25
Hello,
I have set up a macro to navigate a website and scoll through a series of search parameters, then pull the result into spreadsheet.

Whilst it does work, it is messy because I am doing it via "click search button" then "click on resulting link" ie the actual process that you would do manually. There is a lot of processing and I find that the page crashes and then the whole thing freezes

I'm sure that there is a way to bypass the search and get directly to the site I want, however I notice that the URL doesn't change during the searches, so there doesn't seem to be an obvious way of getting there directly.

The website in question in question is: Tax Practitioners Board
I guess my main question is how to determine the address of the sub page so I can go there directly.

For example to loop through a list of mycodex

Code:
ie.navigate range("source").value & "/" & mycodex


I can't copy and post my code...I'm not sure why, it won't work so hopefully this is enough to go on.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top