FV Function [VBA]

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

Icona d'avís

Aquesta funció o constant s'activa amb l'expressió Opció VBASupport 1 situada abans del codi de programació executable en un mòdul.


Sintaxi:

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

Valor de retorn:

Double

Paràmetres :

Rate is the periodic interest rate.

NPer is the total number of periods (payment period).

Pmt is the annuity paid regularly per period.

PV (optional) is the (present) cash value of an investment.

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.

Codis d'error

5 La crida al procediment no és vàlida

Exemple :

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