Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Working with ListBox with frmListStyleOption set
I have a ListBox, on a UserForm, with the ListStyle property set to
frmListStyleOption. What I am trying to figure out is a way to limit the number of items that can be selected in the ListBox to, say 5. And once 5 items have been selected I want the rest of the items in the ListBox disabled. Is there a way to do this? If so, please point me in the right direction. Thanks Ayo |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Working with ListBox with frmListStyleOption set
Maybe this:
http://www.cpearson.com/excel/ListBoxUtils.htm Good luck, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. "Ayo" wrote: I have a ListBox, on a UserForm, with the ListStyle property set to frmListStyleOption. What I am trying to figure out is a way to limit the number of items that can be selected in the ListBox to, say 5. And once 5 items have been selected I want the rest of the items in the ListBox disabled. Is there a way to do this? If so, please point me in the right direction. Thanks Ayo |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Working with ListBox with frmListStyleOption set
You didn't like the suggestions from Wednesday?
Ayo wrote: I have a ListBox, on a UserForm, with the ListStyle property set to frmListStyleOption. What I am trying to figure out is a way to limit the number of items that can be selected in the ListBox to, say 5. And once 5 items have been selected I want the rest of the items in the ListBox disabled. Is there a way to do this? If so, please point me in the right direction. Thanks Ayo -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ListBox Condition Not working for 1st Entry | Excel Programming | |||
Select Multi in Listbox - Event Click not working | Excel Programming | |||
Custom Toolbar: ListBox on.action not working | Excel Programming | |||
listbox.value not equal to listbox.list(listbox.listindex,0) | Excel Programming | |||
Listbox text property not working correctly | Excel Programming |