hi Philip
You can check the value(date) when you click on the control (click event) and when it is before 2003 jump to
the first date you allow and if it is after the last date jump to your last date.
If you need help post back
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
"Philip J Smith" wrote in message
...
Hi I've used the tutorial at www.fontstuff.com/vba/vbatut07.htm to set up a
calendar for date selection in a cell.
I've used an earlier posting (12/5/2006 6:28 AM Calendar Control) by Tom
Ogilvy to pick up the Friday of the week for any date selected.
ActiveCell.Value = Format(Calendar1.Value - Weekday(Calendar1.Value,
vbSaturday), "dd-mmm-yy")
I'd like to know if it is possible limit the start and end years which can
be selected from the Calendar, say 2003 - 2012.
Can anyone help please?
Regards