Calendar Value

T

TForward

All,

In A2000, is there any way to have an ActiveX calendar object default to
the current day?

TForward
 
J

Jeff Conrad

in message:
All,

In A2000, is there any way to have an ActiveX calendar object default to
the current day?

Assuming you are talking about the ActiveX Calendar control
that ships with Access, then just add this one line of code to
the Form's Load event:

Private Sub Form_Load()
Me.MyCalendarNameHere.Today
End Sub

Just insert your actual control name where it says,
"MyCalendarNameHere"

Compile the code, save and close the form.
When you open the form the calendar will
default to the current date.
 
Top