Funció FV [VBA]

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

warning

Aquesta funció o constant s'activa amb l'expressió Option VBASupport 1 plaçada en un mòdul abans del codi executable.


Sintaxi:


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

Valor de retorn:

Double

Paràmetres :

Tipus és el tipus d'interés periòdic.

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

Pmt is the annuity paid regularly per period.

VA (opcional) és el valor efectiu actual d'una inversió.

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

0 - el pagament es fa al final del període;

1 - el pagament es fa al començament del període.

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 myVF ' retorna 4234,00 unitats monetàries. El valor al final de la inversió és de 4234,00 unitats monetàries.
End Sub

Ens cal la vostra ajuda!