View Single Post
  #12   Report Post  
Posted to microsoft.public.excel.programming
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default How Can I gets avaliable list of all criteria in autofilter

You've started another thread - is my answer there what you want?

Pete

On Oct 9, 8:11 am, Valery wrote:
Hello JLGWhiz!You wrote:

"AutoFilter is the fastest way to extract the list using the criteria. You
can use the AdvancedFilter method to filter and simultaneously copy the list
to another location."
Which copy list? list of result or list of avaliable criteria?
how to get the list of all criterias witch avaliable present in autofilter
DropDown menu?



"JLGWhiz" wrote:
AutoFilter is the fastest way to extract the list using the criteria. You
can use the AdvancedFilter method to filter and simultaneously copy the list
to another location.
I am truly having difficulty understanding exactly what you are asking, but
after looking at your file, it appears that you are setting up the auto
filter properly. So, I assume you are questioning whether there is a faster
method to do the job. My answer would be that I don't think there is a
faster method.


"Valery" wrote:


Hello.
The filehttp://aljany.com/My_Book.xlsapplied by me is only a small example
Actually at me there is a greater database from 2000 records in 120
autofilter fields in every record. Therefore initially also there was such
question:
How to get (fast get) this list?
http://aljany.com/Criterias2_.jpg
Here is this file basehttp://aljany.com/bigbase.xls
Therefore I also had a question as it was possible to get fast without loop
exel present list all avaliable value in autofilter. How read this values?
But the exel stores these list elements somewhere, doesn't it?
Help me please :(
Thanks for you time


"JLGWhiz" wrote:


If you have:
Column A ColumnB
1970 Jan
1971 Mar
1975 Feb
1977 Jul
1972 Oct
1970 Jul
1971 Aug
1977 Dec
1975 Jan
1973 Apr
1977 Nov


And you set your criteria as:
column A
1977


It should return in the designated range:
Jul
Dec
Nov


Is this what you mean?


"Valery" wrote:


Hi all!
It seems to me that my last question about criteria wasn't considered :(
I read this http://www.j-walk.com/ss/excel/usertips/tip044.htmbut it's not
That I'll now one more try explain my problem
link to filehttp://aljany.com/Criterias_.jpgand my example file is here
http://aljany.com/My_Book.xls
The first column contains years, the second contains month. On these columns
Autofilter is applied. There is a form of input of filter for users. In it
we choose a year, for example 1977. Excel will filter on a year the first
column and will rotin in Autofilter in the second column collection from
months, for example «august, september, june» are avaliable. How to get this
avaliable criteria values? If the program chooses in form input in listbox
these three months, and I will choose july for example. Now in form input an
only one month - «july» will appear in listbox. And I need all of variants
months on 1977 year. How to take them all avaliable criteria from the list of
Autofilter?


How to get this?
In fact Excel it as did do that?
Help me please in it :(
Thank you- Hide quoted text -


- Show quoted text -