Selected Answer
Assuming that your Submit button is called CommandButton1 you might use the code below.
Private Sub CommandButton1_Click()
If TextBox3.Value = "" Then
MsgBox "You must enter your age.", _
vbExclamation, "Mandatory field"
TextBox3.SetFocus
Else
' take the action associated with "Submit" here
ClearForm
TextBox1.SetFocus
End If
End Sub
Private Sub ClearForm()
' list all your textboxes here by name
Const Controls As String = "TextBox1,TextBox2,TextBox3"
Dim Ctl() As String
Dim i As Integer
Ctl = Split(Controls, ",")
For i = 0 To UBound(Ctl)
Me.Controls(Ctl(i)).Value = ""
Next i
End Sub
This code runs when the button is pressed. It first checks if TextBox3 was filled. If it wasn't filled a message box pops up telling the user to fill and that field and the focus is set on that field at the same time. You can extend this to check several controls, one after the other, and give a different message to each (or the same).
If no exceptions are found the data are submitted to processing and, thereafter, the form is cleared and the focus set back to the first one.