Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to run filter on existing table

I have a table consisting of a set of records in Excel and i need to show a
subset of these records, based on user input filtering criteria applied on
one of the columns in the table. Would like to know a simple macro (code)
that can achieve this. Any other suggestion to achieve this would also be
helpful.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to run filter on existing table

Turn on the macro recorder and apply and autofilter

Data=Filter=Autofilter
then select a criteria.

Turn off the macro recorder and modify the code to allow you to apply user
inputted criteria.

--
Regards,
Tom Ogilvy

"PMishra" wrote in message
...
I have a table consisting of a set of records in Excel and i need to show

a
subset of these records, based on user input filtering criteria applied on
one of the columns in the table. Would like to know a simple macro (code)
that can achieve this. Any other suggestion to achieve this would also be
helpful.

Thanks.



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
how to create pivot table from existing pivot table in excel 2007 Udayraj Dhulekar Excel Discussion (Misc queries) 2 July 8th 13 08:22 PM
Add a Subtotal Row to an Existing Table? Josh Doten Excel Discussion (Misc queries) 3 March 23rd 10 01:16 PM
Keeping existing data in table boo Excel Discussion (Misc queries) 0 February 22nd 07 02:52 AM
Transfer to an existing Access Table Secret Squirrel Excel Discussion (Misc queries) 0 March 17th 06 11:31 PM
How do I add another name to an existing table with formulas to w. Summer Excel Worksheet Functions 3 March 9th 05 03:03 PM


All times are GMT +1. The time now is 03:57 AM.

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"