Private Sub DTPicker1_CloseUp()
Dim varDate As Variant
varDate = DTPicker1.Value
If varDate <= varEndDate And varDate >= varBeginDate Then
' do nothing cuz it's ok
Else
' do something cuz it's not ok
End If
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.