MS Date Time Picker 6.0 question

  • Thread starter Thread starter Robert Crandal
  • Start date Start date
R

Robert Crandal

Just wondering, is it safe to assume that the
Microsoft Date/Time Picker 6.0 Control will
always start up with the current date???
 
I believe so, but the documentation doesn't mention it. To be sure, though,
you can just assign the date to it in the UserForm's Initialize event...

DTPicker1.Value = Date
 
I think it will start up with whatever date is set in properties>value

To make sure it is always current date and formatted as you like.

Private Sub UserForm_Initialize()
Calendar1.Value = Format(Date, "dd-mmm-yy")
End Sub


Gord Dibben MS Excel MVP
 
Back
Top