A
Ann
I'm just starting to learn VBA and am having problems moving the cursor. I
have the following code:
Private Sub txtInterviewDate_AfterUpdate()
If txtInterviewDate.Value < txtGBStartDate Then
MsgBox "The InterviewDate must be greater then or equal to the
GBStartDate"
txtInterviewDate.Value = Null
End If
End Sub
This does work fine but the cursor moves to the next textbox and I want it
to be in txtInterviewDate textbox so the date can be re-entered. It's
probably really simple but the different things I tried don't work. Thanks
for the help.
have the following code:
Private Sub txtInterviewDate_AfterUpdate()
If txtInterviewDate.Value < txtGBStartDate Then
MsgBox "The InterviewDate must be greater then or equal to the
GBStartDate"
txtInterviewDate.Value = Null
End If
End Sub
This does work fine but the cursor moves to the next textbox and I want it
to be in txtInterviewDate textbox so the date can be re-entered. It's
probably really simple but the different things I tried don't work. Thanks
for the help.