Future Value UserForm - Please Help

needshelp12

New Member
Joined
Jun 24, 2011
Messages
14
I am trying to make a userform to calculate Future Value

This is the code i am trying now , getting "Invalid Qualifier", can anyone help me get this running ?

Sub FutureValue1_Click()

Dim Value As Currency
Dim Rate As Double
Dim NumPayment As Double
Dim Payment As Double

Rate = Rate.Text
NumPayment = NumPayment.Text
Payment = Payment.Text
Presentvalue = Presentvalue.Text

Value = fv(Rate, NumPayment, Payment, Presentvalue, 0)

FutureV.Text = LValue

End Sub

thanks !!!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I have changed the code around, and got the invalid qualifier error fixed.

Now i am getting an Overflow error.


Here is my Revised code:

option explicit

Sub FutureValue1_Click()

Dim Value As Currency
Dim Rate As Double
Dim NumPayment As Double
Dim Payment As Double
Dim Presentvalue As Integer

Rate = Rate1.Text
NumPayment = NumPayment1.Text
Payment = Payment1.Text
Presentvalue = Presentvalue1.Text

Value = fv(Rate, NumPayment, Payment, Presentvalue)



FutureV.Text = Value

End sub

If rate = 20
number of periods = 10
payment = 0
present value = -1000

I should get 6191.74 for my future value ?

Can anyone help ?
 
Upvote 0

Forum statistics

Threads
1,224,604
Messages
6,179,857
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top