Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
for an activeX Listbox
for i = listbox.Listcount -1 to 0 step -1 if listbox.Selected(i) then listbox.RemoveItem i end if Next -- Regards, Tom Ogilvy "Simon Shaw" <simonATsimonstoolsDOTcom wrote in message ... I am trying to remove multiple selected items from a ListBox... the code: myListBox.RemoveItem myListBox.ListIndex only removes the last selected item. I have tried a number of things, but keep getting bad results. Does anyone have an example of this? Thanks Simon Shaw |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Last Item of Listbox not getting displayed | Excel Discussion (Misc queries) | |||
Adding item in listbox | Excel Worksheet Functions | |||
Adding item in listbox | Excel Worksheet Functions | |||
Item order in ListBox | Excel Discussion (Misc queries) | |||
The value of a ListBox Item | Excel Programming |