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 は、年金が支払われる期間の合計です。

現在価値 は、一連の支払いの中での現在の価額を指定します。

将来価値 (オプション) は、定期的な支払いが終了した後の最終価値 (将来価値) を指定します。

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

ご支援をお願いします!