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


Hi All,

I am using the following code to apply a filter to a spreadsheet:-

Selection.AutoFilter Field:=7, Criteria1:="High", Operator:=xlOr
Criteria2:="Low"

I can only work out how to filter by two criteria. Is there a metho
that would allow me to filter by 3 criteria, i.e. display all item
which are either, High, Low or Medium?

Any help would be gladly received.

And

--
andibeva
-----------------------------------------------------------------------
andibevan's Profile: http://www.excelforum.com/member.php...nfo&userid=988
View this thread: http://www.excelforum.com/showthread.php?threadid=26459

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Autofilter Multiple Criteria

Hi andibevan

My new Add-in have 5 options
http://www.rondebruin.nl/easyfilter.htm



--
Regards Ron de Bruin
http://www.rondebruin.nl


"andibevan" wrote in message ...

Hi All,

I am using the following code to apply a filter to a spreadsheet:-

Selection.AutoFilter Field:=7, Criteria1:="High", Operator:=xlOr,
Criteria2:="Low"

I can only work out how to filter by two criteria. Is there a method
that would allow me to filter by 3 criteria, i.e. display all items
which are either, High, Low or Medium?

Any help would be gladly received.

Andy


--
andibevan
------------------------------------------------------------------------
andibevan's Profile: http://www.excelforum.com/member.php...fo&userid=9882
View this thread: http://www.excelforum.com/showthread...hreadid=264599



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
Multiple criteria in autofilter BASFMark Excel Worksheet Functions 1 December 11th 08 06:38 PM
match multiple criteria ina range from multiple criteria multiplet RG Excel Worksheet Functions 8 September 28th 07 04:21 AM
Autofilter - Supply Criteria JMay Excel Discussion (Misc queries) 2 January 2nd 07 01:29 PM
AutoFilter Criteria VBA EstherJ Excel Programming 2 August 20th 04 12:54 PM
VBA Autofilter Criteria Brandon[_5_] Excel Programming 1 November 7th 03 12:40 PM


All times are GMT +1. The time now is 04:11 PM.

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"