DJN thanks for that code i will put it to good use. The problem i have with the calender is one of the dates is not always required - I have three date fields, 1.start date, 2.end date, 3.resignation date - the third field is not always filled, but if clicked the user cant close the calendar...