Tom Ogilvy Wrote:
dt(i) = DateSerial(year(date),month(dt)-i,1)
Thanks Tom! When I run the macro I get the message:
Run-time error '13':
Type mismatch
When I run the debugger it stops on the above line
--
Lotus12
-----------------------------------------------------------------------
Lotus123's Profile:
http://www.excelforum.com/member.php...fo&userid=2861
View this thread:
http://www.excelforum.com/showthread.php?threadid=54951