Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Nesting Autofilter functions

Is it possible to "Nest" autofilters? Reason for question is that I need to
autofilter my data log and search through all records (via Column "O") that
is equal to blank, but also through column E where criteria <= Ending date.

Example:

TextFilter1 = ActiveSheet.Range("E3:E10000").AutoFilter _
Field:=1, Criteria1:="<=" & EDate

ActiveSheet.Range("O3:O10000").AutoFilter _
Field:=1, Criteria1:="=", Operator:=xlAnd _
, Criteria2:="TestFilter1"
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Nesting Autofilter functions

Try this

With ActiveSheet.Range("E3:O10000")
.AutoFilter Field:=1, Criteria1:="<=" & Format(Edate, "dd-mmm")
.AutoFilter Field:=11, Criteria1:="="
End With

note that you need to use a date format that the worksheet uses.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"asmenut" wrote in message
...
Is it possible to "Nest" autofilters? Reason for question is that I need

to
autofilter my data log and search through all records (via Column "O")

that
is equal to blank, but also through column E where criteria <= Ending

date.

Example:

TextFilter1 = ActiveSheet.Range("E3:E10000").AutoFilter _
Field:=1, Criteria1:="<=" & EDate

ActiveSheet.Range("O3:O10000").AutoFilter _
Field:=1, Criteria1:="=", Operator:=xlAnd _
, Criteria2:="TestFilter1"



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
Help with Nesting two functions fred Excel Discussion (Misc queries) 11 August 8th 06 01:52 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM
nesting functions Rainy Excel Worksheet Functions 1 June 1st 05 04:22 AM
nesting functions Gary Brown Excel Worksheet Functions 0 May 31st 05 11:32 PM
nesting 18 x functions Jenny Excel Worksheet Functions 3 December 2nd 04 12:01 PM


All times are GMT +1. The time now is 08:55 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"