D
Dave
Hi ALL I need some help please
I am trying to use removeitem method in a listbox. It is a extended list
and I need to be able to remove the selected Items (Not clear the listbox). I
got the additem to work fine in the listbox. I have tried something like
the code below but it only deletes the last value. I know this has something
to due with the listbox array but just do not know how to solve. Example
code is appreciated
Thanks in advance.
Dim varitem As Variant
For Each varitem In Me.List0.ItemsSelected
List3.RemoveItem Index = (variitem)
Next
I am trying to use removeitem method in a listbox. It is a extended list
and I need to be able to remove the selected Items (Not clear the listbox). I
got the additem to work fine in the listbox. I have tried something like
the code below but it only deletes the last value. I know this has something
to due with the listbox array but just do not know how to solve. Example
code is appreciated
Thanks in advance.
Dim varitem As Variant
For Each varitem In Me.List0.ItemsSelected
List3.RemoveItem Index = (variitem)
Next