ListBox

I need to add a list box with a counter. I need the list

box to show from 0 to 4.0 with a counter increasing it by

.5


I would appreciate help.


Comments

  • For ItemToAdd = 0 to 4 Step .5

    List1.AddItem ItemToAdd

    Next ItemToAdd


    -OR-


    List1.AddItem "0.0"

    List1.AddItem "0.5"

    List1.AddItem "1.0"

    List1.AddItem "1.5"

    List1.AddItem "2.0"

    List1.AddItem "2.5"

    List1.AddItem "3.0"

    List1.AddItem "3.5"

    List1.AddItem "4.0"




    The first would work better for a counter, but it really depends on what you want it to do.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories