Applying filters accross Multiple Workbooks

pocquet

Board Regular
Joined
Aug 21, 2013
Messages
118
Hi all, I am sadly using office 2010

I have two SEPRATE workbooks (Book1 and Book2)

Both workbooks have a similar filter for postcode(zip code for the USA)

I want to select a Postcode within book 1's filter and have that also apply to the filter within book2.

Any ideas?

Thanks

JC
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Is this for manual operation, formulas or vba? If VBA then you could use a public variable that would have the same value in both workbooks.
 
Upvote 0
Hi,

I have to match data across two workbooks... Sadly it is address details and they are different (eg Street to ST).

So I have to manually look, I am trying to remove clicks by changing both at the same time.
 
Upvote 0
Hi,

Resolved this myself by doing a double click event.

Not pretty but works and has doubled my efficiency.

Code:
Public Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    Cancel = True
'Change Target to Red To keep track on where I am in the List
    Target.Font.Color = vbRed
Dim S As String
S = Target.Value
With Worksheets("2015")
    .Select
    .Range("$A$1:$K$5739").AutoFilter Field:=11, Criteria1:=S
End With
Windows("tracker.xlsx").Activate
    ActiveSheet.Range("$A$1:$N$4305").AutoFilter Field:=10, Criteria1:=S
Windows("Matched Files.xlsm").Activate
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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