S
Stephen Lynch
I have search high and low and cannot find a function that returns an
amortization schedule. I quess this is how you learn. I am starting from
scratch.
How do I get this simple function to print each month in succession. It
prints the same month so I guess somehow I need to redefine the variable to
the one generated.
I want to show:
2/1/2008
3/1/2008
4/1/2008
5/1/2008 etc. But I get
2/1/2008
2/1/2008
2/1/2008
2/1/2008
Function LoanCalc(intTotalPayments As Integer, StartingPaymentDate As Date)
Dim PayDate As Date
Dim i As Integer
For i = 1 To intTotalPayments
PayDate = DateAdd("m", 1, StartingPaymentDate)
Debug.Print PayDate
Next i
End Function
amortization schedule. I quess this is how you learn. I am starting from
scratch.
How do I get this simple function to print each month in succession. It
prints the same month so I guess somehow I need to redefine the variable to
the one generated.
I want to show:
2/1/2008
3/1/2008
4/1/2008
5/1/2008 etc. But I get
2/1/2008
2/1/2008
2/1/2008
2/1/2008
Function LoanCalc(intTotalPayments As Integer, StartingPaymentDate As Date)
Dim PayDate As Date
Dim i As Integer
For i = 1 To intTotalPayments
PayDate = DateAdd("m", 1, StartingPaymentDate)
Debug.Print PayDate
Next i
End Function