Hi There,
I am trying to have VBA navigate through a website but running into a proble when it comes to clicking on a link embedded on the webpage.
IE.Document.getElementbyid("txtUsername").Value = uName
IE.Document.getElementbyid("txtPassword").Value = pWord
delay 1
IE.Document.getElementbyid("btnLogin").Click
delay 2
This is where it fails -
IE.Document.getElementbyid("Dynamic Doc Search").Click
The HTML is here. for the link im trying to click.
<a id="_ctl0_ContentPlaceHolder_aDocSearchDynamic" href="doc_search_dynamic.aspx" target="content">
any ideas?
I'vre tried everything and it looks like I'm not understanding how anchor tags work.
Bookmarks