IPmt Function [VBA]

Calculates the periodic amortizement for an investment with regular payments and a constant interest rate.

warning

This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


Syntax:


IPmt(Rate as Double, Per as Double, NPer as Double, PV as Double, [FV as Variant], [Due as Variant])

Return value:

Double

Parameters:

이자는 주기적 이자율을 지정합니다.

Per is the period, for which the compound interest is calculated. Period=NPER if compound interest for the last period is calculated.

NPer는 연금 납부 기간의 총 횟수입니다.

PV는 일련의 지불에서 현재 현찰 값을 정의합니다.

FV (선택 가능)는 기간이 끝난 후의 최종값(미래의 값)입니다.

Due (optional) is the due date for the periodic payments.

0 - the payment is due at the end of the period;

1 - the payment is due at the beginning of the period.

Error codes:

5 잘못된 프로시저 호출입니다.

Example:


Sub ExampleIPmt
 Dim myIPmt As Double
 myIPmt = IPmt(0.05,5,7,15000)
 Print myIPmt ' returns -352.97 currency units. The compound interest during the fifth period (year) is 352.97 currency units.
End Sub