Referencing unselcted items in listbox

  • Thread starter Thread starter Mark A. Sam
  • Start date Start date
M

Mark A. Sam

Hello,

I need to iterate through a multiselct list box where nothing is selected
and address each item. Is that possible?

God Bless,

Mark A. Sam
 
What exactly do you want? Simply to list each value?

Dim intLoop As Integer

For intLoop = 0 To (Me.List0.ListCount - 1)
Debug.Print Me.List0.Column(1, intLoop)
Next intLoop

(where 1 in this case means that I'm looking at the 2nd column in the
listbox)
 
Thanks Doug, Thats what I needed.

Douglas J. Steele said:
What exactly do you want? Simply to list each value?

Dim intLoop As Integer

For intLoop = 0 To (Me.List0.ListCount - 1)
Debug.Print Me.List0.Column(1, intLoop)
Next intLoop

(where 1 in this case means that I'm looking at the 2nd column in the
listbox)
 
Back
Top