View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default list in data validation

A couple of ways...1 is a kludge, 1 uses a different type of drop down
called a combo box.

The kludge...

Add the letters to your existing *sorted* list like this:

A
ACE
ADD
B
BAD
BIG
C
CAT
CUT

Update the source range for the list.

Then, in the cell that contains the data validation list type the letter of
interest *but do not hit Enter*. Instead, click the drop arrow and the list
will scroll to the entered letter.

Another method...

Use a combo box from the Control ToolBox toolbar. This is different from a
data validation list in that the combo box drop arrow is *always* visible. A
combo box doesn't occupy a cell, it "floats" on top of the worksheet so you
have to "draw" the shape of the combo box. The combo box has an autocomplete
option that let's you do what you want, type a letter and then the
selections that start with that letter will appear. Also, if you need to use
the selection in formulas you have to use a cell that's linked to the combo
box to hold the actual selection.

Setup:

Right click any toolbar
Select: Control ToolBox
Click on the Combo Box icon (hover your mouse to see which icon is which)
Navigate to where you want the combo box to appear and left click
"Draw" the combo box
Right click the combo box
Select Properties
To set a linked cell...
Select LinkedCelltype in a cell address like A1
Select ListFillRange (this is the location of the list source)type in a
range like F1:F10
Select MatchEntry (this is the autocomplete option)Select 0 -
fmMatchEntryFirstLetter

Close the Properties window
On the Control ToolBox toolbar, click the Design Mode icon (the top left
icon that looks like a blueish triangle)
Close the Control ToolBox toolbar

--
Biff
Microsoft Excel MVP


"benji" wrote in message
...
in a cell I have Data validation with validation criteria to Allow List.
Now my list is a long list of 3 alphabet codes such as
ACE
AET
AMN
ARC
ARM
ASL
ATG
ATS
AUG
AWI
BBC
BEL
BRG
CBS
CDA
CEC
CHT
COP
CPT
CSM
CWT
CWT
DBA
DTK
when I do a normal filter I can go from one code starting with say letter
"A" to another code starting with "D" by simply pressing "D" on the
keyboard. This does not happen in this list. Is there some way I can make
it
happen.