Hi All,
Thanks in advance for reading and giving your time.
I am trying to access this page and automate search of lot#:
"https://www.smarteda.qld.gov.au/pools/properties/propertySearch.action"
I am using MSXML to do this:
But this code is not able to click on radio button (to select lot#) and then enter lot# in input box. So basically I am NOT getting searched result in "result" string.
[Above code is not mine, and I have mainly used codes from "http://www.jpsoftwaretech.com/an-exploration-of-ie-browser-methods-part-ii/" and few other sources to write it.]
Regards!
Vikas
Thanks in advance for reading and giving your time.
I am trying to access this page and automate search of lot#:
"https://www.smarteda.qld.gov.au/pools/properties/propertySearch.action"
I am using MSXML to do this:
Code:
Sub Getlot()
Dim xml As Object ' MSXML2.XMLHTTP
Dim html As Object ' MSHTML.HTMLDocument
Dim imgLinks As Object ' MSHTML.IHTMLElementCollection
Dim imgLink As Object ' MSHTML.IHTMLElement
Dim result As String
Set xml = CreateObject("MSXML2.XMLHTTP.6.0")
zipCode = "2RP219592"
With xml
.Open "GET", "https://www.smarteda.qld.gov.au/pools/properties/propertySearch.action?lot_rad=""TRUE""&lotplan_number=" & zipCode, False
.Send
End With
result = xml.responseText
Cells(1, 1).Value = result
End Sub
But this code is not able to click on radio button (to select lot#) and then enter lot# in input box. So basically I am NOT getting searched result in "result" string.
[Above code is not mine, and I have mainly used codes from "http://www.jpsoftwaretech.com/an-exploration-of-ie-browser-methods-part-ii/" and few other sources to write it.]
Regards!
Vikas