Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I use a combo box to give a list of dates. I use the code below to set up the years. Is it possible to make this list go for the next hundred years or maybe even further, and additionally to update each year (removing the prior year) - so that only the current year and out are displayed. I would also like to do this in a simpler manner - without having to type each year. Is this possible?? Thank You, Private Sub UserForm_Initialize() yr.AddItem "2004" yr.AddItem "2005" yr.AddItem "2006" yr.AddItem "2007" yr.AddItem "2008" yr.AddItem "2009" yr.AddItem "2010" yr.AddItem "2011" yr.AddItem "2012" yr.AddItem "2013" yr.AddItem "2014" yr.AddItem "2015" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I create a combo box that is tied to another combo box? | Excel Worksheet Functions | |||
linking a form combo box... results from the combo box to another | Excel Discussion (Misc queries) | |||
combo reference on another combo box for picking address etc. | Excel Worksheet Functions | |||
"Combo Box - getting control combo box to stick in place in worksh | Excel Discussion (Misc queries) | |||
"Combo Box - getting control combo box to stick in place in worksh | Excel Discussion (Misc queries) |