It works greatly
Thanks!!:D
User Profile
Collapse
Profile Sidebar
Collapse
patopo1
Last Activity: Oct 15 '12, 03:43 AM
Joined: Oct 12 '12
Location:
-
-
Ok now i have this:
Code:X = Initial / 100 * (interest + 100) X = Format(X, "currency") i = lstBalance.ListCount lstBalance.AddItem "0" & i & " - " & X For years = 2 To years X = X / 100 * (interest + 100) X = Format(X, "currency") i = lstBalance.ListCount If i > 0 And i < 10 Then lstBalance.AddItem
Leave a comment:
-
Maybe you could help me to get the code into mine, This is mine:
Code:Private Sub cmdCalculate_Click() Dim X As String Dim Initial As Integer Dim interest As Integer Dim years As Integer Dim balance As Integer lstBalance.Clear Initial = Val(txtInitialInvestment.Text) interest = Val(txtAnnualInterest.Text) years = Val(txtYearsToSave.Text) X =
Leave a comment:
-
Add the number count (Visible) in a listbox
Hi, I have google this many days without luck, I hope you could help me:)
Well , i add the items to the listbox normally and I get this:
$53.23
$34.99
$74.33
$93.63
Thats how it is show in the listbox, but I want to show like this:
01 - $53.23
02 - $34.99
03 - $74.33
04 - $93.63
...
...
I have tried this many ways without luck, I dont know if...
No activity results to display
Show More
Leave a comment: