LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Auto Filter - Multiple Conditions?

Excel2003 ... Protected WorkSheet ... I do not know Macro Code ... I record
Code then do some creative cut/paste.

Issue ... I have a template with "Auto-Filter" Switches set on every Col. I
use a recorded Macro to accomplish my task (2 Conditions) ... However, now I
need to Filter on more than 2 Conditions ... My present Macro looks like:

Sub A_Test_Filter()
'
' A_Test_Filter Macro

ActiveSheet.Unprotect
Selection.AutoFilter Field:=2, Criteria1:="=0182", Operator:=xlOr, _
Criteria2:="=2321"
Range("C2").Select
End Sub

I have Macro Buttons & I need the Auto-Filter Switches so is there a way to
accomplish this with Macro Code that will not disrupt the present workings of
my Template?

Thanks ... Kha




 
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
Auto filter for multiple columns Khardy3352 Excel Discussion (Misc queries) 2 January 25th 09 05:16 AM
Search multiple cells with conditions, sum and auto populate! Desperately seeking hammer !! Excel Worksheet Functions 3 August 18th 07 12:20 AM
Summary Counts Functions to filter multiple conditions Kamlesh Excel Worksheet Functions 2 March 14th 06 10:51 AM
How do I filter with multiple conditions in one field? TJ Excel Discussion (Misc queries) 4 September 28th 05 11:16 PM
Auto Filter Multiple Selections sbrimley Excel Discussion (Misc queries) 5 May 2nd 05 07:32 PM


All times are GMT +1. The time now is 12:30 PM.

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

About Us

"It's about Microsoft Excel"