View Full Version : Mulitple Selections in a list box


Jengo
06-29-2000, 10:14 AM
How do you, through code, make a list box select more than one selection, when the mulitselect function is on. For example:

if tmp = Yes then
'select that one
if tmp1 = Yes then
'keep the previous selected one, and select the new one to.
????? Any help?

ingvar68
06-29-2000, 09:45 PM
For i = 0 To [LIST_NAME].Listcount - 1
if [LIST_NAME].Selected(i) Then
'selected
...
End If
Next

glad to answer