I have a listbox, and would like to know the easiest way to do the following:
list1 contains the following:
One
Two
Three
....Fifty
I want to do this:
MsgBox list1.List(0)
MsgBox list1.List(1)
etc..
But I don't want to write this out 50 times. What is the easiest way to do this??
Thanks
list1 contains the following:
One
Two
Three
....Fifty
I want to do this:
MsgBox list1.List(0)
MsgBox list1.List(1)
etc..
But I don't want to write this out 50 times. What is the easiest way to do this??
Thanks