Private Sub Form_Load() RichTextBox1.Text = "rana" RichTextBox2.Text = "rana" If RichTextBox1.Text = RichTextBox2.Text Then MsgBox "WTF?"End Sub