Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Obi-Wan Kenobi
 
Posts: n/a
Default Advance Filter


Finally I have managed to build a search tool using Advance Filter, It
run well as a macro. I can search customer details by their membership
numbers.

My question is there a way I can define the filter further e.g. I can
input the membership and city details i.e. membership No. (123456) and
City (Nottingham) at the same time and use one button to run the macro
for the search. The code below only lets me put in one search

Sub search2()
'
' search2 Macro
' Macro recorded 22/03/2006 by s
'

'
Range("A10").Select
Range("A10:A25").AdvancedFilter Action:=xlFilterInPlace,
CriteriaRange:= _
Range("A1:A2"), Unique:=False
End Sub


--
Obi-Wan Kenobi
------------------------------------------------------------------------
Obi-Wan Kenobi's Profile: http://www.excelforum.com/member.php...o&userid=32578
View this thread: http://www.excelforum.com/showthread...hreadid=525404

 
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
How do I advance filter to multiple locations at once? imills Excel Worksheet Functions 3 February 1st 06 06:12 PM
advance filter excluding record Souris Excel Discussion (Misc queries) 2 October 9th 05 03:53 AM
Pull data - Advance Filter lil''bibbib Excel Worksheet Functions 1 June 29th 05 03:08 AM
advance filter DANmcc Excel Discussion (Misc queries) 2 April 20th 05 10:13 PM
Why does my advance filter only show one record? Kyri Excel Discussion (Misc queries) 1 March 25th 05 03:13 AM


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