Code: Select all
If Not IsDate(Me.TFINE.Text) Then
Me.LAZIONI.Caption = "DATA FINE ERRATA!"
DoEvents
Beep
Sleep (1000)
Me.LAZIONI.Caption = ""
Me.TFINE.SetFocus
Exit Sub
End If
Why?
i need the a correct date in this fpormat dd/mm/yyyy