dtpicker to display current date when form opens

  • Thread starter Thread starter ron mann
  • Start date Start date
R

ron mann

I have a DT picker in a userform. I would like it to display the current date
on opening.

Your assistance with this would be much appreciated.
 
I don't know what date picker you're using, but maybe...

Option Explicit
Private Sub UserForm_Initialize()
Me.Calendar1.Value = Date
End Sub
 
Hi Dave,

I am using DT picker and the suggested initialisation has worked a treat.

Many thanks to you.

Cheers

Ron
 
Back
Top