I tried several methods to click the submit button using vba macro but not a single method worked for me. Finally i decided to post my concern here to seek advice.
The website is realtor.com
I populated the search box with my data from excel sheet using vba. now i am unable to hit the search button.
i tried with the following vba code
Dim objTag As Object
For Each objTag In html.getElementsByTagName(strTagName)
If InStr(objTag.outerHTML, "btn btn-primary js-searchButton") > 0 Then
objTag.submit
Exit For
End If
Next
but it did not work for me
It will be a great help for me if anyone helps me out here. Thanks in advance.
Bookmarks