WorksheetFunction.Ispmt (Excel)
Calculates the interest paid during a specific period of an investment. This function is provided for compatibility with Lotus 1-2-3.
Make sure that you are consistent about the units that you use for specifying rate and nper. If you make monthly payments on a four-year loan at an annual interest rate of 12 percent, use 12%/12 for rate and 4*12 for nper. If you make annual payments on the same loan, use 12% for rate and 4 for nper. For all the arguments, the cash you pay out, such as deposits to savings or other withdrawals, is represented by negative numbers; the cash you receive, such as dividend checks and other deposits, is represented by positive numbers. For additional information about financial functions, see the Pv function.
Ispmt (Arg1, Arg2, ..., Arg4)
Dim dblArg1 As Double: dblArg1 =
Dim dblArg2 As Double: dblArg2 =
Dim dblArg3 As Double: dblArg3 =
Dim dblArg4 As Double: dblArg4 =
Dim dblIspmt As Double
dblIspmt = WorksheetFunction.Ispmt(Arg1:=dblArg1, Arg2:=dblArg2, Arg3:=dblArg3, Arg4:=dblArg4)
Arguments
Arg1, Arg2, ..., Arg4Arg1 (Double) - Rate - the interest rate for the investment.
Arg2 (Double) - Per - the period for which you want to find the interest; must be between 1 and nper.
Arg3 (Double) - Nper - the total number of payment periods for the investment.
Arg4 (Double) - Pv - the present value of the investment. For a loan, pv is the loan amount.