Calendar Control

G

geocoy

How do you set the properties on a calendar control to always come up with
todays date, but still have the ability to change the date
 
R

Rob Parker

I assume that you are referring to the Microsoft ActiveX Calendar control.

In the Current event of the form containing the control, add the following
line:
Me.MyCalendarControlName.Value = Date
(substituting the correct name for your control).

Note: this will not work in the form's Open event!

HTH,

Rob
 
G

geocoy

Thanks Rob, it works

Rob Parker said:
I assume that you are referring to the Microsoft ActiveX Calendar control.

In the Current event of the form containing the control, add the following
line:
Me.MyCalendarControlName.Value = Date
(substituting the correct name for your control).

Note: this will not work in the form's Open event!

HTH,

Rob
 
Top