Public Function EndOfAddMonths( _ ByVal vDate As Variant _ , ByVal vMonths As Variant _ ) As Variant
EndOfAddMonths(#1/15/99#, 1) = #2/28/99# EndOfAddMonths(#1/15/99#, 2) = #3/31/99# EndOfAddMonths(#1/15/99#, 5) = #6/30/99# EndOfAddMonths(#1/15/99#, -2) = #11/30/98#See also:
EndOfAddMonthsTest Subroutine AddMonths Function LastDayOfMonth Function EOMONTH Function (Microsoft Excel)vDate: The date to which a number of months are added according to vMonths. Function returns Null if vDate is Null or cannot be interpreted as a Date.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.