Hi, how can i auto click the submit button from a web page. Coding of the button is ..
Code:
Code:
Any ideaCode:<input type="button" value="Send" style="width:10em;" onClick="javascript:checkform()">
The following code is not working for me
Code:Private Sub WebBrowser1_DownloadComplete() Set Doc = WebBrowser1.Document '~~> Find the "Submit Button" For Each GenElmt In Doc.frames.Document.All If UCase$(GenElmt.tagName) = "INPUT" Then Set InptElmt = GenElmt If UCase$(InptElmt.Value) = "Send" Then '~~> Click Button and then exit the loop InptElmt.Click Exit For End If End If Next End Sub


Reply With Quote
1+ rep 4 you
