Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default can a macro imitate autofilter


Is it possible to use a macro to duplicate the action of autofilter.
For example I have a name in cells A1 & A2 of worksheet 1 and want t
pull out all instances of those two names (if they appear together
from worksheet 2 and display them in a third shee

--
trye
-----------------------------------------------------------------------
tryer's Profile: http://www.excelforum.com/member.php...fo&userid=1654
View this thread: http://www.excelforum.com/showthread.php?threadid=39266

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default can a macro imitate autofilter

Try recording a macro when you do the filter. And even continue recording when
you copy the visible cells to the other sheet.

Then turn off the macro recorder and look at the code.

tryer wrote:

Is it possible to use a macro to duplicate the action of autofilter.
For example I have a name in cells A1 & A2 of worksheet 1 and want to
pull out all instances of those two names (if they appear together)
from worksheet 2 and display them in a third sheet

--
tryer
------------------------------------------------------------------------
tryer's Profile: http://www.excelforum.com/member.php...o&userid=16546
View this thread: http://www.excelforum.com/showthread...hreadid=392665


--

Dave Peterson
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
Macro, AutoFilter... Aline Excel Discussion (Misc queries) 1 July 27th 08 12:27 AM
Autofilter Macro? Danni2004 Excel Discussion (Misc queries) 1 April 29th 08 05:54 PM
Macro using autofilter Lorna B Excel Discussion (Misc queries) 5 May 25th 07 06:54 PM
CAN I FORMAT A ROW TO IMITATE A CONDITIONAL CELL? Hayley Excel Worksheet Functions 4 May 4th 06 09:51 AM
Keep autofilter after macro is run gmr7 Excel Worksheet Functions 2 July 5th 05 01:16 PM


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