I'm the only person in my department who has any idea of writing excel macros, so I've been given the task of writing a macro to screen scrape a web site. "They're both microsoft programs, so it should be easy."
I've tried a number of applications, and it appears that the site would have to be opened, and then you'd actually have to click on links to get to where you need to go (has to do with a session id, and your chosen 'location'. Changing locations you'd need to click on a link for the session ID to be attributed to the new location).
I'm able to list the links using something like:
For i = 0 To IeDoc.links.Length - 1
Cells(i + 1, 1).Value = IeDoc.links(i).href
Next i
where IEDoc is Internet Explorer
Is it possible to do something like:
.Navigate "
Find the link "Personal Profile" and click on it?
The site is refreshed frequently, so the location of the link I need can move, but it's always the same link name.
I'm basically a self-taught beginner, thrust into probably a rather complex application... so any help would be appreciated.
I've tried a number of applications, and it appears that the site would have to be opened, and then you'd actually have to click on links to get to where you need to go (has to do with a session id, and your chosen 'location'. Changing locations you'd need to click on a link for the session ID to be attributed to the new location).
I'm able to list the links using something like:
For i = 0 To IeDoc.links.Length - 1
Cells(i + 1, 1).Value = IeDoc.links(i).href
Next i
where IEDoc is Internet Explorer
Is it possible to do something like:
.Navigate "
Find the link "Personal Profile" and click on it?
The site is refreshed frequently, so the location of the link I need can move, but it's always the same link name.
I'm basically a self-taught beginner, thrust into probably a rather complex application... so any help would be appreciated.