1,453
社区成员
发帖
与我相关
我的任务
分享
Option Explicit
Private Sub Form_Load()
WebBrowser1.Navigate2 "www.google.cn"
End Sub
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
Dim oInput As Object
Set oInput = pDisp.Document.getElementById("q")
If Not oInput Is Nothing Then
oInput.Value = "go"
End If
End Sub