G
Gdareos
I'm trying to use the Calendar control for the first time, and find
the tutorial from Microsoft easy to follow except for the "NOTE: You
will have to open up one of the listed events and then change that
event to the Click event." I opened up the "On Updated" event, but
now I don't know how to change it to the desired "Click" event.
Any help would be very much appreciated.
Thanks,
George
----
Add the following code to the Click event of the Calendar control.
NOTE: You will have to open up one of the listed events and then
change that event to the Click event.
Private Sub Calendar_Click()
' Set OrderDate to the selected date and hide the calendar.
OrderDate.Value = Calendar.Value
OrderDate.SetFocus
Calendar.Visible = False
End Sub
the tutorial from Microsoft easy to follow except for the "NOTE: You
will have to open up one of the listed events and then change that
event to the Click event." I opened up the "On Updated" event, but
now I don't know how to change it to the desired "Click" event.
Any help would be very much appreciated.
Thanks,
George
----
Add the following code to the Click event of the Calendar control.
NOTE: You will have to open up one of the listed events and then
change that event to the Click event.
Private Sub Calendar_Click()
' Set OrderDate to the selected date and hide the calendar.
OrderDate.Value = Calendar.Value
OrderDate.SetFocus
Calendar.Visible = False
End Sub