Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Looping through a listbox
Simple question...How do I loop through a multi-select single listbox
with 2 columns? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Looping through a listbox
On a userform?
Private Sub CommandButton1_Click() Dim i As Integer For i = 0 To Me.ListBox1.ListCount - 1 If Me.ListBox1.Selected(i) Then MsgBox ListBox1.List(i, 0) & " " & ListBox1.List(i, 1) End If Next i End Sub HTH, Bernie MS Excel MVP "EAB1977" wrote in message ... Simple question...How do I loop through a multi-select single listbox with 2 columns? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Looping Listbox in Userform | Excel Programming | |||
Listbox Looping | Excel Programming | |||
Looping to fill ListBox | Excel Programming | |||
Looping through listbox controls | Excel Programming | |||
Excel VBA-Looping though MultiSelect on ListBox | Excel Programming |