Hello Tugboat00,
The attached workbook will provide you with a fixed rate amortization schedule. You only need to input the loan amount, the annual interest rate and the loan period in years. Click the button and you will create a schedule of payments showing the principal, interest, and balance for each payment.
Here is the VBA macro to generate the amortization schedule. The attached workbook is a working example.
Sub Amortize()
' Written: April 20, 2016
' Author: Leith Ross
Dim Amount As Double
Dim Balance As Double
Dim Cell As Range
Dim Interest As Double
Dim n As Long
Dim Payment As Double
Dim Payments As Integer
Dim Period As Integer
Dim Principal As Double
Dim Rate As Double
Dim Rng As Range
Dim Wks As Worksheet
Set Wks = ActiveSheet
Set Cell = Wks.Range("A2")
Set Rng = Cell.CurrentRegion
Set Rng = Intersect(Rng, Rng.Offset(1, 0))
If Not Rng Is Nothing Then Rng.ClearContents
Application.ScreenUpdating = False
Amount = Wks.Range("J3")
Rate = Wks.Range("J4") / 12
Period = Wks.Range("J5")
Payments = Period * 12
Payment = (Amount * (Rate * ((1 + Rate) ^ Payments))) / (((1 + Rate) ^ Payments) - 1)
Balance = Amount
For n = 1 To Payments
Interest = Balance * Rate
Principal = Payment - Interest
Balance = Balance - Principal
Cell.Resize(1, 5).Value = Array(n, Payment, Principal, Interest, Balance)
Set Cell = Cell.Offset(1, 0)
Next n
Application.ScreenUpdating = True
End Sub
Bookmarks