How do you create a list in a Combo or List Box?

  • Thread starter Thread starter Arthur
  • Start date Start date
A

Arthur

I'm trying to create a drop-down list in Excel, but I can't seem to fil
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 o
these control boxes?

thanks!
 
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)
 
thanks, Bob!

I know this is the wrong forum, but I do have a followup questio
(because my post in the PowerPoint forum is being ignored). How do
make a controll toolbox drop-down list using either a Combo Box or Lis
Box? I still can't seem to get more than one entry in the list.

thanks again
 
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)
 
Back
Top