Hi board!
I want to get a text under span class = "black" from that website (its date and time of auction end):
https://auction.violity.com/63039365-kollekciya-shkatulok-13sht
Haven`t found any example except getting table content, but can`t handle even html-file opening
thanks in advance!
I want to get a text under span class = "black" from that website (its date and time of auction end):
https://auction.violity.com/63039365-kollekciya-shkatulok-13sht
Haven`t found any example except getting table content, but can`t handle even html-file opening
Rich (BB code):
Sub Web_Test()
Dim xml As Object
Dim html As Object
Dim objTable As Object
Dim result As String
Dim lRow As Long
Dim lngTable As Long
Dim lngRow As Long
Dim lngCol As Long
Dim ActRw As Long
Set xml = CreateObject("MSXML2.XMLHTTP.6.0")
With xml
.Open "GET", "https://auction.violity.com/63039365-kollekciya-shkatulok-13sht", False
'.Open "GET", "http://www.ernaehrung.de/lebensmittel/de/F110000/Apfel.php", False
.send
End With
result = xml.responseText 'I have error here like: "selected encoding is not supported"
Set html = CreateObject("htmlfile")
html.body.innerHTML = result
....
end sub