IPmt Function [VBA]

Calcula a amortização periódica de um investimento com pagamentos regulares e uma taxa de juros constante.

warning

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


Sintaxe:


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

Valor de retorno:

Double

Parâmetros:

taxa é a taxa de juro por período.

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

nper é o número total de períodos de pagamento do investimento.

va é o valor atual da série de pagamentos.

vf (opcional) corresponde ao valor pretendido (valor futuro) no fim dos períodos.

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

0 - o pagamento é devido no fim do período;

1 - o pagamento é devido no início do período.

Códigos de erro

5 Chamada de procedimento inválido

Exemplo:


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

Necessitamos da sua ajuda!