Hi folks.
I am at a loss here and am not sure what i am doing wrong.
i am trying to click on this link:
"Document Browser
"
isn't it as simple as... (this is what i started with)
<link rel="shortcut icon" href="/Images/Icons/cbase_logo.ico"><link rel="stylesheet" href="/Themes/LSG/defaults.min.css"><link rel="stylesheet" href="/Themes/LSG/checkboxes.min.css">
I am at a loss here and am not sure what i am doing wrong.
i am trying to click on this link:
"Document Browser
"
isn't it as simple as... (this is what i started with)
Code:
Sub clickthebutton()
Dim IE As New SHDocVw.InternetExplorer
Dim HTMLDoc As MSHTML.HTMLDocument
Dim HTMLInput As MSHTML.IHTMLElement
Dim HTMLButtons As MSHTML.IHTMLElementCollection
Dim HTMLButton As MSHTML.IHTMLElement
IE.Visible = True
IE.Navigate "https://cbase.lsgskychefs.com/main.aspx"
Do While IE.ReadyState <> READYSTATE_COMPLETE
Loop
Set HTMLDoc = IE.Document
Set HTMLInput = HTMLDoc.getElementById("productionBrowser")
HTMLInput.Click
End Sub