ActiveX Calender

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
 
A

alan fisher

Put this in the On Activate event of the form:


ocxcalender.Object.Value = Date()

where ocxcalendar is the name of your specific calendar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top