Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Listbox Selection Help
Hi,
I have a multi-selection listbox where I need to find the value of each selection using a loop. I don't know how to find the text of the selected item. With ListBox2 For i = 0 To .ListCount - 1 If .Selected(i) = True Then Dim Y As String Y = ???? This should be the text here Thanks, |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Listbox Selection Help
Y=.list(i)
"Matt" wrote: Hi, I have a multi-selection listbox where I need to find the value of each selection using a loop. I don't know how to find the text of the selected item. With ListBox2 For i = 0 To .ListCount - 1 If .Selected(i) = True Then Dim Y As String Y = ???? This should be the text here Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Listbox selection | Excel Discussion (Misc queries) | |||
Listbox & Selection | Excel Discussion (Misc queries) | |||
Last Selection from MultiSelect Listbox | Excel Programming | |||
Listbox Selection | Excel Programming | |||
ListBox selection | Excel Programming |