I have a listbox with columncount = 2, boundcolumn = 1 and Multiselect = extended.
I need to use the values selected in this list from the second column. For ex, if the user select
World Markets;
AND
Intraday;
I need in a variable just these 2 urls, so the values from the second column of the list.
I have this code, but, I can have just the first column, in this ex. just "World Markets" and "Intraday":
For i = 0 To Me.lstLinks.ItemsSelected.Count - 1
j = Me.lstLinks.ItemsSelected.Item(i)
MsgBox Me.lstLinks.ItemData(j)
Next i
I need to use the values selected in this list from the second column. For ex, if the user select
World Markets;
AND
Intraday;
I need in a variable just these 2 urls, so the values from the second column of the list.
I have this code, but, I can have just the first column, in this ex. just "World Markets" and "Intraday":
For i = 0 To Me.lstLinks.ItemsSelected.Count - 1
j = Me.lstLinks.ItemsSelected.Item(i)
MsgBox Me.lstLinks.ItemData(j)
Next i