Setting current date on a calendar on a form.

C

CEL504

I am still struggling to do this and would appreciate some more help if
possibble. I have a calendar on a form and I would like to default to the
current date on opening.

Any ideas please.
 
W

Wayne-I-M

Hi

Use this OnLoad

Private Sub Form_Load()
Me.Calendar.Value = Date
End Sub


Change calendar to the name of the calendar on your form.

Good luck
 

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