I want it to open showing the beginning of the list each time. Can I control
how it opens?
I am OK with a VBA solution if that's the only way to do it, too. but how
would I control that drop-down with code?
Thanks
M
>Hi Michelle,
>
>I don't think there is any answer to this. That is what drop downs usually do.
>
>Consider it in the opposite direction. You have selected one of the first
>options and the next time you want one of the last options then you have to
>scroll to the bottom.
My time sheet app always opens at the beginning of the time list I give
it.
I assign a Name to a range and then put "=RangeName" Where "rangeName"
is replaced by the name of the range I just created.
in the validation box. That way if I expand the list, the drop down does
too, and I am pretty sure that it always starts at 12:00 AM, regardless
of what time I previously chose.
List the selections in a range of cells, say, F1:F5.
Enter this array formula** in cell G1:
=INDEX(F$1:F$5,SMALL(IF(F$1:F$5<>A$1,ROW(F$1:F$5)),ROWS(F$1:F1))-ROW(F$1)+1)
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.
Copy down to G5
Create ths defined name
Goto the menu Insert>Name>Define
Name: ListRange
Refers to:
=$G$1:INDEX($G$1:$G$5,COUNTIF($G$1:$G$5,"<>#NUM!"))
OK out
As the source for the drop down use =ListRange
--
Biff
Microsoft Excel MVP
"Michelle" <mh_lond...@hotmail.com> wrote in message
news:3B068F38-EE24-4ADE...@microsoft.com...