needshelp12
New Member
- Joined
- Jun 24, 2011
- Messages
- 14
I am getting a Overflow error with my code :
Sub FutureValue1_Click()
Dim Value As Long
Dim Rate As Double
Dim NumPayment As Double
Dim Payment As Double
Dim Presentvalue As Double
Rate = Rate1.Text
NumPayment = NumPayment1.Text
Payment = Payment1.Text
Presentvalue = Presentvalue1.Text
Value = fv(Rate, NumPayment, Payment, Presentvalue)
FutureV.Text = Value
End Sub
Can anyone figure out why i am getting this error , thanks !!
Sub FutureValue1_Click()
Dim Value As Long
Dim Rate As Double
Dim NumPayment As Double
Dim Payment As Double
Dim Presentvalue As Double
Rate = Rate1.Text
NumPayment = NumPayment1.Text
Payment = Payment1.Text
Presentvalue = Presentvalue1.Text
Value = fv(Rate, NumPayment, Payment, Presentvalue)
FutureV.Text = Value
End Sub
Can anyone figure out why i am getting this error , thanks !!