>< snip >
>>>
>>>lnDaysInMonth = GOMONTH(ldDate-Day(ldDate)+1,1)-1
>>
>>BTW, that gets the last day of the month, not the number of days.
>>
>>
lnDaysInMonth = DAY(GOMONTH(ldDate-Day(ldDate)+1,1)-1)
>>
>>gets # of days.
>
>Picky, picky :)
Well, this whole election thing has got on edge <g>
Insanity: Doing the same thing over and over and expecting different results.