ActiveX Calender

  • Thread starter Thread starter James New
  • Start date Start date
J

James New

I have placed a calender on one of my forms, but I cannot
seem to get the focus set to the current day, it always
opens up to a default day in Feb. 2003. Is there a way to
set the focus to the current day?

Thanks,

James
 
Put this in the On Activate event of the form:


ocxcalender.Object.Value = Date()

where ocxcalendar is the name of your specific calendar.
 
Back
Top