Thank you!
Private Sub Calendar1_NewYear()
Calendar1.Year = 2009
End Sub
Mike F
"Robert Crandal" <nob...@gmail.com> wrote in message
news:loDNm.45264$de6....@newsfe21.iad...
"Mike Fogleman" <mikefo...@comcast.net> wrote in message
news:ec7GB0ra...@TK2MSFTNGP02.phx.gbl...
Do you know if I can limit the calendar to only a couple
years?? For example, what if I wanted to limit it
to 2009 AND 2010 AND 2011?? How would the
code look then??
"Mike Fogleman" <mikefo...@comcast.net> wrote in message
news:ec7GB0ra...@TK2MSFTNGP02.phx.gbl...
>
Mike F
"Robert Crandal" <nob...@gmail.com> wrote in message
news:L9rOm.63909$gg6....@newsfe25.iad...
Do you know how to do this same thing with MS DT Picker 6.0?
I tried the following code below, but it doesnt seem to work:
Private Sub DTPicker1_AfterUpdate()
If DTPicker1.Year > 2011 Then DTPicker1.Year = 2011
If DTPicker1.Year < 2009 Then DTPicker1.Year = 2009
End Sub
Maybe I forgot to initialize something??
Thanks sooooooo much for your help!
"Mike Fogleman" <mikefo...@comcast.net> wrote in message
news:uO2cxRDb...@TK2MSFTNGP05.phx.gbl...
Mike F
"Robert Crandal" <nob...@gmail.com> wrote in message
news:wl7Pm.11192$cX4....@newsfe10.iad...
"Mike Fogleman" <mikefo...@comcast.net> wrote in message
news:%23DyT2dc...@TK2MSFTNGP02.phx.gbl...