How do you add Delays, Pauses

I am asking is there a way to say this

If Textbox1.Text = "hi" Then
[Adding delay here]
Msgbox("Displaying here")

Additional information.. Is there a way for me too add a delay with a If statement as shown above. Like making it count to 5 seconds or ect. before running the next line of code. I would really appreciate anything other then Timer's because those are very finicky and don't apply updates. I would prefer anything other then a ordinary timer. Thanks for all your support and feedback, It's invaluable.