Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi There, I need to provide users with a list of 19 items, and would like to use a normal drop down that enables multiple selectons. I need to be able to see the results of the selections(in say the "answer" sheet. (If it will make it easier, I can limit the max number of seletions to say 8) The list is part of a larger spreadsheet where data is captured on a per row basis. (i have been able to get a drop down with the ability to select single items to work for other parts of the spreadsheet, but have no idea how to enable multiple selections) Any ideas on where to begin would be most welcome!!!!! Thanks D *** Sent via Developersdex http://www.developersdex.com *** |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Darin,
You probably need a listbox which allows multiple selection. Select the Control Toolbar (View==Toolbars==Control toolBar) and select a list box control. Place on your worksheet and right click. select Properties then MultiSelect ...1 fmMltiSelectMulti. Use the ListFillRange (in Properties) to define your data list. e.g B20:B50 Add a command button to activate the processing of the listbox: Private Sub CommandButton1_Click() n=7 With ListBox1 For i = 0 To ListBox1.ListCount - 1 If .Selected(i) Then .... assign data to "Answers" e.g Worksheets("answers").Cells(n,"B")=.list(i) n=n+1 End If Next i End With End Sub Hope this gets you started. "Darin Kramer" wrote: Hi There, I need to provide users with a list of 19 items, and would like to use a normal drop down that enables multiple selectons. I need to be able to see the results of the selections(in say the "answer" sheet. (If it will make it easier, I can limit the max number of seletions to say 8) The list is part of a larger spreadsheet where data is captured on a per row basis. (i have been able to get a drop down with the ability to select single items to work for other parts of the spreadsheet, but have no idea how to enable multiple selections) Any ideas on where to begin would be most welcome!!!!! Thanks D *** Sent via Developersdex http://www.developersdex.com *** |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks - made a good start - I can see the box with options in it, but I
cant select any, ie Im just selecting the list box. I got lost with your advice to "Add a command button to activate the processing of the listbox":" I can add the button, and assign the Macro to it, but then nothing happens when I click it. (I also then have the list box, and anothe button, but I think the button should be part of the access Also as there needs to be many of these, it wont really work if I have each one with its own list box and command button - ie gets to complex to create and for users to duplicate. Something like multiple data validation would be ideal.... but dont think its possible? Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! *** Sent via Developersdex http://www.developersdex.com *** |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can do this with data validation and programming. There's a sample
file he http://www.contextures.com/excelfiles.html Under Data Validation, look for 'Select Multiple Items from Dropdown List' Darin Kramer wrote: Hi There, I need to provide users with a list of 19 items, and would like to use a normal drop down that enables multiple selectons. I need to be able to see the results of the selections(in say the "answer" sheet. (If it will make it easier, I can limit the max number of seletions to say 8) The list is part of a larger spreadsheet where data is captured on a per row basis. (i have been able to get a drop down with the ability to select single items to work for other parts of the spreadsheet, but have no idea how to enable multiple selections) Any ideas on where to begin would be most welcome!!!!! Thanks D *** Sent via Developersdex http://www.developersdex.com *** -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Filter multiple workbooks from drop down list selection | Excel Worksheet Functions | |||
drop down list selection | Excel Discussion (Misc queries) | |||
Multiple selection drop down list | Excel Worksheet Functions | |||
Can I set up a multiple selection drop down list? | New Users to Excel | |||
multiple select from the drop down list in excel. list in one sheet and drop down in | Excel Discussion (Misc queries) |