logo

Navigate to an item in pulldown by typing first couple of letters

ji.h.le posted on Thursday, August 09, 2007 4:43 PM

I have a list in sheet A and on sheet B I have a cell with a pull down
menu that lists the list from the sheet A.  The list contains 2400+
items, and instead of scrolling down to the specific item, I am
looking for a way to type the first couple of letters to get near the
item I need to get.  Is there anyway to get this done?  Sheet B
appears to be somewhat restricted such that recording or writing VBA
is prohibited.  Are there any functions or properties I can use to
accomplish this?

Thanks,
reply


You can use a combo box from the control toolbox.

T. Valko posted on Thursday, August 09, 2007 5:15 PM

You can use a combo box from the control toolbox. It has a MatchEntry
property that will do what you want.

--
Biff
Microsoft Excel MVP
reply

Is there a way to use matchentry with the pulldown menu under thevalidation

ji.h.le posted on Thursday, August 09, 2007 5:30 PM

Is there a way to use matchentry with the pulldown menu under the
validation function?

Also I am not sure how to use the match entry functionality in the
combobox context.  how do i type stuff into the combo box?
reply

Not directly.

T. Valko posted on Thursday, August 09, 2007 6:08 PM

Not directly. There is a kludge work around:

Sort the source for the dropdown and add the first letter to the beginning
of each group. Like this:

A
Adam
Allen
Arron
B
Becky
Bill
Bob
C
Carla
Chris

Then when you want to select the Cs, type a C in the cell then click the
drop arrow and it will take you the Cs.


A combo box is very similar to a data validation drop down list. There are 2
types of combo boxes, a Forms combo box and a Control toolbox combo box. The
Forms combo box will not do what you want (without some VBA coding).

To setup a Control toolbox combo box:

Right click any toolbar
Select Control toolbox
Click the first icon on the top left (it has a blue "thing" and what looks
like a pencil tip) (aren't icons wonderful!)
This will put you in design mode. After you click that icon and hover your
mouse over it, it should say Exit design Mode.
Now, click on the combo box icon then goto the location where you want it to
appear
Click and hold then draw the combo box to the shape and size you want it.
Then, right click and select Properties
Scroll down and select ListFillRange. This is the same thing as the source
for the data validation drop down list. Click in the box on the right and
enter the source for the list. For example, Sheet1!$A$1:$A$100. Then hit
Enter
Now, scroll down and select MatchEntry
From the drop down on the right select either 0-fmMatchFirstLetter or
1-fmMatchEntryComplete
Close the Properties dialog
Exit design mode by clicking the first icon on the top left.

Your combo box is now ready for use.
If you ever need to edit the properties you have to open the control toolbox
toolbar and go back into design mode.
Sounds somewhat involved but once you get to used to it there's nothing to
it.

--
Biff
Microsoft Excel MVP
reply

Navigate to an item in pulldown by typing first couple of letters

T. Valko posted on Thursday, August 09, 2007 6:23 PM

Tweak:


Then when you want to select the Cs, type a C in the cell but *DON'T* hit
the Enter key, click the
drop arrow and it will take you the Cs.

--
Biff
Microsoft Excel MVP
reply

 

Didn't Find The Answer You Were Looking For?

View Excel Miscellaneous Posts   Ask A New Question

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum

If you have an OpenID and do not want to become a member of the EggHeadCafe forum, you can also sign on to Chat Chaos and post your question to our real time Silverlight chat application.
Ask Question In Chat Chaos

Previous Excel Miscellaneous conversation.

Developer Outlook AddIns    Excel    Excel Charting    Excel Crashes GPFs    Excel Miscellaneous    Excel New Users    Excel Programming    Excel Setup    Excel Worksheet    Groove    MAC Office    MAC Office Entourage    MAC Office Word    Office Communicator    Office Developer Automation    Office COM Add-Ins    Office Developer Other    Office Outlook Forms    Office Outlook VBA    Office Developer VBA    Office Miscellaneous    Office Setup    Office Templates Misc    Office Update    One Note    Outlook    Outlook BCM    Outlook Calendaring    Outlook Contacts    Outlook Fax    Outlook General    Outlook Installation    Outlook Interop    Outlook MAC    Outlook Printing    Outlook Program Add-Ins    Outlook Program Forms    Outlook Program VBA    Outlook 3rd Party Utility    Outlook Express    PowerPoint    Project    Project Developer    Project Server    Visio    Visio Developer    Visio General    Word Application Errors    Word Conversions    Word Menus Toolbars    Word Document Management    Word Drawing Graphics    Word International Features    Word mail    Word Mail Merge Fields    Word New Users    Word Numbering    Word OLE Interop    Word Page Layout    Word Printing Fonts    Word Programming    Word Setup Networking    Word Spelling Grammar    Word Tables    Word VBA Add-Ins    Word VBA Beginners    Word VBA Customization    Word VBA    Word VBA User Forms    Works Windows   






  $1000 Contest    [)ia6l0 iii - $228  |  Jonathan VH - $161  |  Huggy Bear - $135  |  F Cali - $95  |  egg egg - $94  |  more Advertise  |  Privacy  |   (c) 2010