hi, it is possible to made like with this code?

lets say...

i have a Text1.Text and set as multiline = you will right your own message

then... if the Text1.Text received "HI" i want the msg Box appear Found "HI" then go typing... if Text1.Text received again" hello i want the msg box appear Found "HELLO"

is this possible?

i tried like this but get no luck

VB Code:
  1. Do
  2. if InStr(Text1.Text, "HI") Then
  3. MsgBox("Found: HI")
  4. Else
  5.  
  6. End if
  7.  
  8. if InStr(Text1.Text, "Hello") Then
  9.  
  10. MsgBox("Found: Hello")
  11.  
  12. Else
  13. End if
  14. Loop

thanks..