MSHTML.HTMLDocument
Microsoft HTML Object Library
Add the reference option under the tool tab and reference "Microsoft HTML Object Library" and "Microsoft Internet Control".
Dim ie As New SHDocVw.InternetExplorer
Dim doc As New MSHTML.HTMLDocument
Dim ecoll As Object
ie.Visible = True
ie.navigate"http://bettersolutions.com/index.html"
Do
DoEvents
Loop Until ie.readyState = READYSTATE_COMPLETE
Set doc = ie.document
Set ecoll = doc.getElementsByTagName("table")
Dim doc As New MSHTML.HTMLDocument
doc.body.innerHTML = "Hello"
Debug.Print doc.getElementsByTagName("td")(0).innerText
' Late Binding
Dim doc As Object
Set doc = CreateObject("htmlfile")
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext