代码: Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant) Set vDoc = WebBrowser1.Document For i = 0 To vDoc.All.length - 1 '检测所有标签 If UCase(vDoc.All(i).tagName) = "INPUT" Then '找到input标签 Set vTag = vDoc.All(i) If vTag.Type = "button" And vTag.Value = "最大值" Then '找到确定按钮。 vTag.Select '也可以没有这个 vTag.Click '点击提交了,一切都OK了 End If End If Next i End Sub