hi
i used the following code to read data from web.
this is my code
Private Sub Command1_Click()
Dim Text As Variant
WebBrowser1.Navigate ("www.google.co.in")
Text = WebBrowser1.Document.Body.Innertext
MsgBox Text
For i = 1 To 1000
If Mid$(Text, i, 8) = "google" Then
MsgBox ("String Found")
End If
Next i
End Sub
when i execute this code ,i receive an error message
runtime error :'91'
"object variable or with block variable not set"
the error appears in the underlined statement.
also i use IE 7.will there be any problem due to this.
pls help me out
thank u