Question: Please use VBA to solve: Build a loan calculator subroutine that will display the total interest paid over the life of a loan. Make this

Please use VBA to solve:

Build a loan calculator subroutine that will display the total interest paid over the life of a loan. Make this interactive so that the user will be prompted for:

  • The loan Amount
  • The number of Years
  • The frequency (number of payments per year)
  • The interest Rate (APR)

You will need to determine how much of each payment goes toward interest and then sum the interest up.

Set your default loan amount to $100,000

Set the default term to 15 years

Set the default frequency to 12 payments per year

Set your default interest rate to 5% APR

Hints:

You will need 4 input boxes

You can solve mathematically or utilize the Excel function IPMT to solve for the interest portion of the payment each period.

Then total the interest payments up using a loop.

In a message box, output two things:

  • the total amount of all the payments
  • the total interest paid over the life of the loan

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!