Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default ComboBox AddItem code to reference cells in a Range

I have a range of cells named 'Production_Years' representing the production
years 2009 down to 2000 in cells A1:A10. Each product has ComboBox in which I
would like its particular production years to be populated, i.e. Widget 1's
production years were 2004-2007, so I need to use code such that it pulls the
appropriate years from the 'Production_Years' range to set the ListFillRange
of ComboBox1.

Widget 2's ComboBox2 will have a different range of years but will still
need to pull them from the 'Production_Years' range.

I think I should be using AddItem code and somehow referencing the Index of
the appropriate line in the range. To simplify the fill process I have a
Command Button labeled 'Fill' in which all the code is contained such that
each ComboBox will be appropriately filled when it is clicked.

It is proving to be a difficult problem - for me at least.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
.AddItem list and populating combobox with created list pallaver Excel Discussion (Misc queries) 8 June 27th 08 12:36 PM
How To Reference What Is In A ComboBox In A Cell Formulas??? Minitman Excel Worksheet Functions 4 March 25th 08 06:18 PM
How do I copy a combobox to many cells with relative reference? Levc Excel Discussion (Misc queries) 1 November 21st 07 06:58 PM
ComboBox code Alexandre Ferreira Excel Worksheet Functions 1 January 11th 07 02:52 PM
additem to combobox with an array jocke Excel Discussion (Misc queries) 2 September 29th 05 07:56 PM


All times are GMT +1. The time now is 08:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Đ2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"