Don't know about VBA but you could count the number of dates which fal
within a specific month and year using a single formula, e.g. for Apri
2006
=SUMPRODUCT(--(MONTH(contactResults)=4),--(YEAR(contactResults)=2006)
--
daddylongleg
-----------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...fo&userid=3048
View this thread:
http://www.excelforum.com/showthread.php?threadid=50632