Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry if this has allready been addressed. I could not find this specific
issue anywhere. It sounds strange but multi-select listboxs inside userforms called by double-clicking on different ranges of cells will sometimes open with items (the same items when it does it) already selected. The real strange part is that it seems to be linked to the width and/or height of the cells in and arround the ranges. I.e. if I change the width of the column next to the range that triggers the form, sometimes the pre-selection stops. But then it may start in another userform-listbox (I have 5 set up based on different columns being double-clicked). The listbox is loaded from dynamic named range on another worksheet via its "RowSource" property. I've tried clearing the list when form is initialized, AfterUpdate for Listbox, BeforeUpdate for list box, .... I've even tried loading the listbox from an array instead of the dynamic named range.... but still get same issue. The only way I can clear the selections is manually clicking on them or having a control button set up to clear the selections when pressed. Is there some way to make sure listbox selections are cleared when form is called? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Moving Mutli-Column Multiple-Selected Listbox items up or down | Excel Discussion (Misc queries) | |||
How to use selected items from Listbox | Excel Programming | |||
ListBox Selected Items into an Array | Excel Programming | |||
named range, data validation: list non-selected items, and new added items | Excel Discussion (Misc queries) | |||
Adding Items to a ListBox-Unique Items Only | Excel Programming |