Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The subject doesn't do this justice. I have a combo box for the user to
select a year from the current year to 12 in the future. The ListFillRange for the combo box refers to a sheet with the following formulas: AD 1 Year 2 =TODAY() - All dates are formatted as YYYY 3 =DATE(YEAR(AD2)+1,MONTH(AD2),DAY(AD2)) 4 =DATE(YEAR(AD3)+1,MONTH(AD3),DAY(AD3)) 5 ....etc.... Everything works great...you push the button at the side of the combo box and it drops down and shows a list of years starting from the current year. No problems until a year is selected. i.e. if 2006 is selected it returns 38991. I know this has to do with the formulas I am using in the spreadsheet. But I don't know how to fix it. I used the formulas as a way to not have to update the program every year. I want the list to start at 2006 when we hit 1/1/2006. Thank you for the help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying the number of a custom formatted number cell | Excel Discussion (Misc queries) | |||
I want my combo box to return a date format instead of a number? | Excel Discussion (Misc queries) | |||
number keep being formatted as date | New Users to Excel | |||
how to get the number of days between two date formatted fields in vba for excel? | Excel Worksheet Functions | |||
Can Combo Boxes Be Formatted? | Excel Programming |