conception_native_0123
Well-known member
- Local time
- Today, 05:43
- Joined
- Mar 13, 2021
- Messages
- 1,923
I am scraping a web page and I'm missing a method. can someone help me out? this page spells it out but VBA puts a semicolon in the code when I try it:
www.w3schools.com
the code I have is:
but the code's last line is read by VBA like this:
can someone give me a push here? I'm not ready to transition to the chromium model yet. thanks.

W3Schools.com
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
the code I have is:
Code:
Dim ie As InternetExplorer, counter As Long, length As Long
Set ie = New InternetExplorer
ie.Visible = True
ie.navigate "https://www.fairhopeartsandcraftsfestival.com/artists/jewelry"
While ie.Busy
DoEvents
Wend
length = ie.Document.getElementsByTagName("a").length
counter = ie.Document.getElementsByTagName("a").length
Debug.Print ie.Document.getElementsByTagName("a")[0].innerHTML
Code:
Debug.Print ie.Document.getElementsByTagName("a"); [0].innerHTML