I need a way to halt the program until the user enters info into a textbox on a user form
'Check if Date Entered is Empty
If Me.txtDateEnt.Value = "" Then
MsgBox "Date Entered is Missing", vbExclamation, "Date format error"
Me.txtDateEnt.SetFocus
Exit Sub
End If
This code keeps going after the msgbox button is clicked with giving the user the opportunity to enter the information.
TIA
'Check if Date Entered is Empty
If Me.txtDateEnt.Value = "" Then
MsgBox "Date Entered is Missing", vbExclamation, "Date format error"
Me.txtDateEnt.SetFocus
Exit Sub
End If
This code keeps going after the msgbox button is clicked with giving the user the opportunity to enter the information.
TIA