If I make an argument optional, how do I specify the default for that argument?<br><br>Example:<br><br>Function PatientAge(Birthdate As Date, Optional EndDate As Date) As Integer<br>' calc patient age in months, if > 23 months old, recalc in years<br>' also use today's date if EndDate not specified<br><br>If AgeInMonths(Birthdate, EndDate) > 23 Then<br> PatientAge = AgeinYears(Birthdate, Date)<br>Else<br> PatientAge = AgeInMonths(Birthdate, EndDate)<br>End If<br><br>End Function