PDA

View Full Version : [SOLVED:] intializing a userform



lior03
04-22-2006, 12:28 PM
hello
i am using a calendar userform.i want the userform
open on january 1900.could it be done?

Jacob Hilderbrand
04-22-2006, 03:52 PM
Try this:


Option Explicit

Private Sub UserForm_Initialize()
Me.Calendar1.Value = DateSerial(1900, 1, 1)
End Sub