ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using a specific range to populate a list/combo box (https://www.excelbanter.com/excel-programming/287142-using-specific-range-populate-list-combo-box.html)

tanktata[_2_]

Using a specific range to populate a list/combo box
 
I know this is probably really easy to do, but how do you populate
list or combo box with data from an existing range, without having t
add each individual item?

Thanks

--
Message posted from http://www.ExcelForum.com


Ron de Bruin

Using a specific range to populate a list/combo box
 
Hi tanktata

There is a list property
ListBox1.List = Sheets("Sheet1").Range("D1:D20").Value




--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"tanktata " wrote in message ...
I know this is probably really easy to do, but how do you populate a
list or combo box with data from an existing range, without having to
add each individual item?

Thanks.


---
Message posted from http://www.ExcelForum.com/




btadams[_6_]

Using a specific range to populate a list/combo box
 
If you're using controls from the Control Toolbox, select the control o
the spreadsheet then click on the Properties button on the Contro
Toolbox. Then change the ListFillRange property to WorksheetName!Rang
(such as Sheet2!A1:A100). You can leave off the ws name if the range o
cells is on the same worksheet as the contro

--
Message posted from http://www.ExcelForum.com


tanktata[_3_]

Using a specific range to populate a list/combo box
 
thanks for your help folk

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 10:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com