Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel search macro

Status
Not open for further replies.

mchanguion

Technical User
Aug 25, 2007
5
Hi All

I am trying to search a 4 column range (approx 5000 rows)for all matches on a specific value and for each match, I need all the fields in the row (4 fields) to be put into an output range. This output range should never return more than 20 matches. I need to return every matching row that is found, even if there are 2 identical matching rows.

Thanks in advance for any help.

Marc
 



Hi,

If you are running this code IN EXCEL, please post these answers, along with your original question, in Forum707.

So what code do you have so far? Please post.

Please post a sample of your data.

How is your input range defined?

How is the output range defined?

Skip,

[glasses] When a wee mystic is on the loose..
It's a Small Medium at Large! [tongue]
 
Hi Skip

Thanks for responding. I have managed to solve this problem using the advanced filter command. Works really great.

Cheers

Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top