FV Function [VBA]

Returns the future value of an investment based on periodic, constant payments and a constant interest rate (Future Value).

warning

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


Syntax:


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

Return value:

Double

Parameters:

Tỷ_lệ là lãi suất định kỳ.

NPer là tổng số kỳ (thời kỳ trả).

Pmt là số tiền lãi hàng năm phải trả cho từng kỳ.

PV (tuy chọn) là giá trị tiền mặt (hiện tại) của một đầu tư.

Due (optional) defines whether the payment is due at the beginning or the end of a period.

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 Sai gọi thủ tục

Example:


Sub ExampleFV
 Dim myFV As Double
 myFV = =FV(0.04, 2, 750, 2500)
 Print myFV ' returns 4234.00 currency units. The value at the end of the investment is 4234.00 currency units.
End Sub

Please support us!