Replicating Autofilter across identical sheets?

rhyspippard

New Member
Joined
May 5, 2005
Messages
32
If I set an Autofilter custom date range within column A of sheet1, is it possible for this to be replicated (within an identical set of data) on column A of sheet2?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Yes.
Record a macro of setting the autofilter and run it with the another sheet active.

Otherwise come back with the code and more specifics on what you need.
 
Upvote 0
Will a macro update sheet2 each time I change the Autofilter on sheet1?

I need the Autofilter to run simultaneously on both sheets

If so, then this would be exactly what I need :)
 
Upvote 0
Yes. On its own the change of an autofilter does not trigger any event that can be trapped with a macro. The trick is to put =NOW() into a cell somewhere which forces the sheet to recalculate at that time.

We can then use the Calculate event.
 
Upvote 0

Forum statistics

Threads
1,225,606
Messages
6,185,955
Members
453,333
Latest member
BioCoder84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top