Sharid
Well-known Member
- Joined
- Apr 22, 2007
- Messages
- 1,066
- Office Version
- 2016
- Platform
- Windows
I need to get some data from html, but my code does not work
for the first set of data the
Tag = a
Id = u_0_p
and for the second it is via class
Tag = div
Class = _50f4
I was doing this but it does not work
I keep getting an error message "Object does not support this property or method"
for the first set of data the
Tag = a
Id = u_0_p
and for the second it is via class
Tag = div
Class = _50f4
I was doing this but it does not work
Code:
dd = doc.getElementsByTagName("a") .getElementById("u_0_p") '(0) .innerText
dd1 = doc.getElementsByTagName("Div") .getElementByClassName("_50f4")(3).innerText
I keep getting an error message "Object does not support this property or method"