>>>>
>>>>FOR x=oListBox.ListCount TO 1 STEP -1
>>>> remove your entry
>>>>ENDFOR
>>>
>>>Sorry Nadya, you would reference it as oListBox.Selected(x) and remove that.
>>
>>I haven't used for each much, but could it be done that way?
>>
>>For each listitem in olistbox
>> * processing
>>next
>>
>>Does that work? Or is there something like that?
>
>FOR EACH is preferable where you may change the number of elements in the collection.
Ed,
Would FOR EACH work here? If you're removing entries, will it go through the entire original list??? I thought it would stop too soon.