Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am creating a Listbox selection userform where values populated in
master listbox are selected and moved over to a listbox on the right hand side. Is it possible where only one value goes into the right hand list box and no more values allowed to populate that listbox? I have multiselect set to 0. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In your code that does the move the item from the left listbox to the right
listbox, use something like If RightListBox.ListCount = 0 Then ' move the item End If -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting www.cpearson.com (email on the web site) wrote in message ps.com... I am creating a Listbox selection userform where values populated in master listbox are selected and moved over to a listbox on the right hand side. Is it possible where only one value goes into the right hand list box and no more values allowed to populate that listbox? I have multiselect set to 0. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
userform listbox cannot get listbox.value to transfer back to main sub | Excel Programming | |||
avoiding duplicates in listbox (added from another listbox) | Excel Programming | |||
VBA: Creating listbox similar to the one in Pivot table (Listbox+Checkbox) | Excel Programming | |||
listbox.value not equal to listbox.list(listbox.listindex,0) | Excel Programming | |||
Is refreshing listbox rowsource in listbox click event possible? | Excel Programming |