For rownumber = sstart To 0 Step -1
output &= rownumber & Space(1)
Next rownumber
lst1.Items.Add(output)
output = ""
For rownumber = sstart * mult To 0 Step -1
output &= rownumber & Space(1)
Next rownumber
lst1.Items.Add(output)
output = ""
For rownumber = ssend * mult To 0 Step -1
output &= rownumber & Space(1)
Next rownumber
lst1.Items.Add(output)
output = ""
Count = ssend
Do While Count < mult
Count = Count
Loop
End Sub
---------------------------------
what it is suposed to do is : eg.
start No 5
end No 30
multiplyer 2
result would be:
543210 (this just produces the 1st step)
109876543210 (then the multiplyer kicks in : 2*5=10 )
20191817161514131211109876543210 (2*10=20)
they all roll back to 0
i want the code to say : do until end val and no more.
i get start at 60 to 0 in 3rd list
output &= rownumber & Space(1)
Next rownumber
lst1.Items.Add(output)
output = ""
For rownumber = sstart * mult To 0 Step -1
output &= rownumber & Space(1)
Next rownumber
lst1.Items.Add(output)
output = ""
For rownumber = ssend * mult To 0 Step -1
output &= rownumber & Space(1)
Next rownumber
lst1.Items.Add(output)
output = ""
Count = ssend
Do While Count < mult
Count = Count
Loop
End Sub
---------------------------------
what it is suposed to do is : eg.
start No 5
end No 30
multiplyer 2
result would be:
543210 (this just produces the 1st step)
109876543210 (then the multiplyer kicks in : 2*5=10 )
20191817161514131211109876543210 (2*10=20)
they all roll back to 0
i want the code to say : do until end val and no more.
i get start at 60 to 0 in 3rd list
Last edited: