Tegenfeldt
New Member
- Joined
- Aug 6, 2013
- Messages
- 13
I am trying to loop thru all links on all pages of a website to find pages that have links to PDF files. Do you have a code sample for that? If not I think I can figure out that myself.
Now to my real problem;
Some links are in a cell in a table on the webpage, like this:
I want my VBA to click that link, but I can’t find a way to do this.
What I have so far is:
When I examine TD it is empty;
But I can find the link in:
How can I get my VBA to click that link?
Now to my real problem;
Some links are in a cell in a table on the webpage, like this:
Code:
<td valign="bottom" style="height:170px;"><DIV class="InnerDiv"><A class="CatalogLink" href="javascript:firstNodeClick('0:0:0')">Golvbrunnar - plast</A></DIV></td>
I want my VBA to click that link, but I can’t find a way to do this.
What I have so far is:
Code:
Set Browser = New InternetExplorer
Browser.navigate "http://core.purus.se/PurusWeb/common/frameset.aspx?Profile=Sweden&NamedPath=Golvbrunnar"
Set Document = Browser.Document
Set td = Document.getElementsByTagName("a")
When I examine TD it is empty;
But I can find the link in:
How can I get my VBA to click that link?