If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do you create a list in a Combo or List Box?
What are we talking about, a userform, control toolbox, or worksheet forms?
Put the data in a worksheet range and link with - userform - Rowsource property - control toolbox - ListFillRange - worksheet form - Input Range on Control Tab of Form, properties. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Arthur " wrote in message ... I'm trying to create a drop-down list in Excel, but I can't seem to fill out more than one row of information in either a Combo Box or List Box. Could someone tell me how to create an actual - list - for both of these control boxes? thanks!! --- Message posted from http://www.ExcelForum.com/ |
#2
|
|||
|
|||
How do you create a list in a Combo or List Box?
Arthur,
Do you want a VBA solution, or Excel? I ask as you mention Powerpoint. In VBA you can additem, in Excel, it is best to set your items in a worksheet range, and link to that. I'll describe the latter, Activate the Control toolbox toolbar Go into control.design mode (click the blue-green triangle icon) Click and drag a listbox (combobox) onto the worksheet Click the properties icon (finger pointing at a worksheet) Set the ListfFillRange property to the worksheet range (e.g. A1:A20) Exit design mode To create code behind it, go back into design mode, and double-click the control. A click event procedure is set-up for you, just add your code. Don't forget to exit design mode again. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Arthur " wrote in message ... thanks, Bob! I know this is the wrong forum, but I do have a followup question (because my post in the PowerPoint forum is being ignored). How do I make a controll toolbox drop-down list using either a Combo Box or List Box? I still can't seem to get more than one entry in the list. thanks again! --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | |
Display Modes | |
|
|