page select in multipage web site

S

Stefi

Hi All,

I had a discussion on this topic with Joel but he stopped answering
therefore I try to reopen the thread:

I have a multipage URL (http://schedule.msu.edu/)
where
Set coursetables = IE.document.getElementsByTagname("table")
and after that
?coursetables.Item(16).Rows(0).Cells(0).innertext
returns

Page 1 of 2
Previous Page | Next Page

On the web page clicking manually on Next Page bring up the next page.

How can I find the object that can be clicked on in VBA (like clicking on a
button is done via myButton.click) to bring up the next page?

Joel's last suggestion (see below) failed because
Set Nextobj = IE.document.getElementByID("nav")
returned Nothing because there was no "nav" element.

I'm interested not in the content of this particular website but the paging
technique in such cases.

Thanks,
Stefi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top