LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Using Two Range Criterion in Advanced Filter

I am trying to use two named ranges in my Advanced Filter. Below is
my code, but does not work. It only works when I has the one "SEA".
How do I
filter using two ranges?

Sub sea()
'
' sea Macro
' Macro recorded 1/10/2009 '


'
Range("A1:P99").AdvancedFilter Action:=xlFilterInPlace,
CriteriaRange:= _
Range("SEA", "SEAMORN"), Unique:=False
End Sub
 
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
Hlp! Named range Advanced Filter Criterion Joyce Excel Discussion (Misc queries) 10 March 3rd 10 02:04 PM
Using Two Range Criterion in Advanced Filter Bull Excel Programming 0 January 28th 09 11:59 PM
advanced filter a range Il Principe Excel Worksheet Functions 2 August 1st 05 03:27 PM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM
Advanced Filter Range Selection in VB Hulk Excel Programming 1 October 3rd 04 02:26 AM


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