I am trying to put my HTML in a text box so i can extract the data from it. I can print it to the form but not to the text box. What is the best way to do this?
Also how do I parse it out once it is in the text box. The information will be printed to a file to be used in Exel. I will need to search for the information between "text4" and exclude the tags.

Thanks for any help.

Here is the code i am using.

Dim myurl As String

Private Sub cmdret_Click()

myurl = txturl.Text
WebBrowser1.Navigate2 (myurl)
Inet1.Protocol = icHTTP
Inet1.Execute CStr(txturl), "GET /"

While Inet1.StillExecuting
DoEvents
Wend
MsgBox "Done"
End Sub

Private Sub Inet1_StateChanged(ByVal State As Integer)
Select Case State
Case 12
stemp = Inet1.GetChunk(100)
While stemp <> ""
Form1.Print stemp;
stemp = Inet1.GetChunk(100)
Wend
Form1.Print
Case 11
MsgBox Inet1.ResponseInfo, vbCritical, "error"
End Select
End Sub

Private Sub txturl_Change()
myurl = txturl.Text
End Sub