Re: Auto_expand on excel

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Frank

Glad you got it running.

Typing VA on its own, would be looking for items beginning with VA (not
case sensitive). Typing VA** would do exactly the same. *VA would look
for items where any word contained the letters VA.
The code keeps the cursor in the same cell to make it easy to add more
characters to your search.
So you could enter V for all entries staring with V, then VA which would
limit it to those starting VA, then VAL etc. to narrow down the
selection

The code is merely setting the parameters for Autofilter, without having
to use the steps of selecting the dropdown>Custom>begins with etc.
On Excel versions up to 2002, the dropdown on Autofilter was quite
short, but it has expanded with later versions making the choosing of
options slightly more laborious, that's why I wrote the code.

The capabilities therefore, are still those of Autofilter itself. Yes,
it will deal with the full list of 65536 rows of XL versions to 2003,
but there is an inbuilt limitation, that Autofilter will not display
more than 1000 rows for any filter applied.

Debra Dalgleish has some methods for getting around this limitation on
her site at
http://www.contextures.com/xlautofilter02.html#Limits

--
Regards

Roger Govier


"Frank Situmorang" <frank.situmorang@xxxxxxxxxxxx> wrote in message
news:50C2D440-26EA-4E00-941C-2D20332A07E4@xxxxxxxxxxxxxxxx
Thank you very much Roger, It works infact. It is because I did not
put the
wild character such as "VA**, I just typed VA, so it showed blank. It
works
perfectly now. My question is how many rows that it can handle. Is it
possible for 65,000 rows?

Thanks a lot

Frank

"Frank Situmorang" wrote:

Hello:

I have data auto filterin excel, when I wanted to find a record it
can only
jump into the first character. Is it possible to have an auto expland
like in
access data base??. For example I want to search in filter for Valve
when I
typed VA it will auto expand to Valve, varina, etc....

Thanks for any idea

Frank


.



Relevant Pages

  • Re: Automatically add/hide rows
    ... AutoFilter does not auto adjust as the data changes. ... ' only show the Auto Filter buttons for Columns A, B, and E. ... On your report worksheet, ...
    (microsoft.public.excel)
  • RE: Macro to ask for a item# and then show all details for that item
    ... Might consider using an autofilter instead of a macro - Data, Filter, Auto ...
    (microsoft.public.excel.misc)
  • Re: Excel: How copy all rows that have a given column entry?
    ... I was able to create the Show All and Autofilter icons this time. ... these columns that had the dropdown arrow on them. ... the primary column and applied the filter to it. ... With the All icon ...
    (microsoft.public.excel.misc)
  • Re: Excel: How copy all rows that have a given column entry?
    ... I was able to create the Show All and Autofilter icons this time. ... these columns that had the dropdown arrow on them. ... the primary column and applied the filter to it. ... With the All icon ...
    (microsoft.public.excel.misc)
  • Re: Help please with autofilter and dates
    ... The AutoFilter method of a Range object is a very curious beast. ... If we use "=", Excel matches on the text that is displayed in the cell, i.e. the ... create a criteria string that will locate an exact match in all locales. ... When using any of the other filter ...
    (microsoft.public.excel.programming)