so u just have the single IE declare....

the webbrowser control is IE so it should work the same
tested and works:
VB Code:
  1. Dim WithEvents IE As InternetExplorer
  2.  
  3. Private Sub Form_Load()
  4. Set IE = New InternetExplorer
  5. IE.Navigate "www.google.com"
  6. End Sub
  7.  
  8. Private Sub IE_DocumentComplete(ByVal pDisp As Object, URL As Variant)
  9. If (pDisp Is IE.Application) Then
  10.     IE.Document.Forms(0).q.Value = "hello" 'q is the real NAME from the source
  11.     'tested..works fine
  12. End If
  13. End Sub