Hi, how can i auto click the submit button from a web page. Coding of the button is ..
Code:

Code:

Code:
<input type="button" value="Send"  style="width:10em;" onClick="javascript:checkform()">
Any idea

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