Hi there. I got a code from this forum that was done by Marc L but the problem is Click button is not working. I tried to focus on the button before clicking, also with no success. The code is below if someone could help:
---------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Mod edit: Added code tag.
▬▬▬▬▬▬▬▬▬ Mod edit : thread moved to appropriate forum !
---------------------------------------------------------------------------
Code:
Sub Demo()
With CreateObject("InternetExplorer.Application")
.navigate ("http://quhtani.com/sms/0quh01/q")
.Visible = True
While .readyState < 4 Or .Busy: DoEvents: Wend
.document.getElementsByName("srch-term").Item.innerText = "966550512345"
.document.getElementById("btnsearch").Focus
.document.getElementById("btnsearch").Click
End With
End
End Sub
Mod edit: Added code tag.
▬▬▬▬▬▬▬▬▬ Mod edit : thread moved to appropriate forum !
Last edited by a moderator: