?? it doesnt? i pasted that code in and it works fine...
are u sure u are waiting till the page loads?
change it to this so u know if its running all of that:
VB Code:
Private Sub Form_Load() WebBrowser1.Navigate "http://www.google.com/" End Sub Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant) If (pDisp Is WebBrowser1.Application) Then If URL = "http://www.google.com/" Then Dim HTML As HTMLDocument Set HTML = WebBrowser1.Document MsgBox "ABout to put STATIC in..." HTML.All.Item("q").Value = "Static" MsgBox "Static Should be there now" End If End If End Sub




Reply With Quote