by Harold Dru » Wed, 23 Feb 2005 19:29:00
Hi eguy
**********************************************************
Private Function NumberOfDays(lYear As Long, lMonth As Long) As Long
NumberOfDays = Day(DateSerial(lYear, lMonth + 1, 0))
End Function
***********************************************************
Good luck
Harold