If TextBox1.Text = "" Then MsgBox("Username Is Missing") : Exit Sub
If TextBox2.Text = "" Then MsgBox("Password is missing") : Exit Sub
If TextBox3.Text = "" Then MsgBox("Sequrity Answer is Missing") : Exit Sub
This will stop executing the function when any of the textboxes is empty.