Quote:
Originally Posted by Stevenator65
I figured it out. I made an error. I was supposed to subtract 1, not multiply by negative one. Here's my final code:
Sub cmdCalc_Click
Dim Prin
Dim Rate
Dim Term
Dim MonthlyRate
Dim Payment
Dim Middle
Dim bottom
|
There's no need to "Dim" normal variables....
You can just use the without previous settings...
If you need to share a variable bettween several subs, then put them in the Global sub, like this:
Prin=""
Rate=""
Term=""
MonthlyRate=""
Payment=""
Middle=""
bottom=""
__________________
Paulo Gomes
Porto, Portugal
"The Past is nothing more than the constructions of a Present that was once called Future"
Desktop PC: Currently NONE
Mobile Device: QTEK S200, WinMo 6.5
Laptop: Toshiba NB100-130
DLL Version Listing