Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default COmbo box and lookup list

Hi, I have a vlookup cell to look up a list of 5500 items. Some times, users
may enter a wrong item and got nothing retunred. I am thinking of add a drop
down box for them to lookup the list in that case. However, 5.5K item is way
too much for the drop down. Does Excel have a function like Access that when
user enter first few characters, the drop down will show a list of items
have the same characters. How can I code that?
Thank you.
GL


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default COmbo box and lookup list

Excel has a "sort of" autocomplete feature.
It looks at cells above/below it to attempt an autocomplete. It doesn't
check many though. Certainly not the 1000s you're talking about.
I wrote the word test into cell a1 then wrote the word excel into cells
a2:a1000
typing the first few characters of "test" started autocomplete, with
different behaviours depending on how far away you we

typing t autocompleted on A51, but didn't on A52, I had to type te to get it
to autocomplete.
getting autocomplete to start became more difficult after 50 cells
clearance.

I don't know of a another simple way to autocomplete.


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"G Lam" wrote in message
...
Hi, I have a vlookup cell to look up a list of 5500 items. Some times,
users
may enter a wrong item and got nothing retunred. I am thinking of add a
drop
down box for them to lookup the list in that case. However, 5.5K item is
way
too much for the drop down. Does Excel have a function like Access that
when
user enter first few characters, the drop down will show a list of items
have the same characters. How can I code that?
Thank you.
GL




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default COmbo box and lookup list

saved from a previous message:

But you could use a combobox from the Control Toolbox toolbar. There's a
property that you can set telling it to look for a match.

You could plop that combobox right over the same cell.
rightclick on the combobox and select properties.
look for listfillrange and use the same range as you used for Data|Validation
(or if you typed in the values in the DV dialog, put those values on a different
worksheet (hidden, maybe).

Look for linkedcell and type the address of the cell you're using to hold that
combobox.

Look for Style and change it to fmstyledropdownlist
(prevents users from typing anything they want)

Look for matchentry and try fmmatchentrycomplete (or fmmatchentryfirstletter)
(depends on what you want).

When you're done, use the arrow keys to select that linked cell.
Format|cells|number tab
custom category
In the "Type box", put ;;;
(3 semicolons will hide the value in the cell, but you'll still be able to use
it in your formulas.)



G Lam wrote:

Hi, I have a vlookup cell to look up a list of 5500 items. Some times, users
may enter a wrong item and got nothing retunred. I am thinking of add a drop
down box for them to lookup the list in that case. However, 5.5K item is way
too much for the drop down. Does Excel have a function like Access that when
user enter first few characters, the drop down will show a list of items
have the same characters. How can I code that?
Thank you.
GL


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup on a combo box dp_amsafe_elkhart Excel Worksheet Functions 1 March 23rd 10 04:37 PM
Need a Lookup/Sumif Combo Formula LSully Excel Worksheet Functions 1 April 4th 08 08:34 PM
Data validation combo box lookup PCreighton Excel Worksheet Functions 0 September 24th 07 06:24 PM
combo boxes and lookup Addz New Users to Excel 7 July 30th 05 11:36 PM
Combo Box wrong lookup range. Pal Excel Programming 2 February 28th 04 08:04 PM


All times are GMT +1. The time now is 02:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"