Use the IsDate function.
Code:Private Sub Command1_Click() If IsDate(Text1.Text) Then MsgBox "Date correct" Else MsgBox "Invalid date!" End If End Sub
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |