|
loop thru listbox
guys ive got a simple question that alludes me for right now.
if i iterate thru the elements of a list box like below::::
txtTo is the listbox.
Dim myEmailToList As String
Dim i As Integer
For i = 0 To txtTo.Items.Count - 1
myEmailToList += txtTo.Items.IndexOf(i)
Next
i know this is simple - i've never had to loop thru a listbox before.
thanks for any help on this
rik
|