tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,924
- Office Version
- 365
- 2019
- Platform
- Windows
How can I navigate to the second page of a webpage?
Suppose I want to go to the second page of the questions webpage on mrexcel:
I right click on the 2, choose Inspect Element and see this:
What can I do with this?
I tried:
but it doesn't even compile.
Thanks
Suppose I want to go to the second page of the questions webpage on mrexcel:
Rich (BB code):
Dim IE As SHDocVw.InternetExplorer
Set IE = New SHDocVw.InternetExplorer
IE.Visible = True
IE.navigate "https://www.mrexcel.com/forum/excel-questions/"
I right click on the 2, choose Inspect Element and see this:
Rich (BB code):
<a title="Show results 21 to 40 of 3,150" href="https://www.mrexcel.com/forum/excel-questions/index2.html">2</a>
What can I do with this?
I tried:
Rich (BB code):
IE.Document.queryselector("a title="Show results 21 to 40 of 3,150" href="https://www.mrexcel.com/forum/excel-questions/index2.html">2").Click
but it doesn't even compile.
Thanks
Last edited: