Calendar Control - Current Date

  • Thread starter Thread starter Rosemary
  • Start date Start date
R

Rosemary

I have created a pop-up form with the Calendar Control on
it. It is not being used for anything yet other than
viewing. What I would like to have it do, however, is
have the current date selected when the calendar form pops
up. How can I do this?

Thanks,
 
Rosemary,
On the OnCurrent event of your pop-up form, place this code...
Private Sub Form_Current()
YourCalendarName.Value = Date
End Sub
hth
Al Camp
 
Thanks!!
-----Original Message-----
Rosemary,
On the OnCurrent event of your pop-up form, place this code...
Private Sub Form_Current()
YourCalendarName.Value = Date
End Sub
hth
Al Camp




.
 
Back
Top