A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
Try this code
Sub Macro1()
Dim source_rng As Range
Dim criteria_rng As Range
Set source_rng = Worksheets("Impact Report").Range("A1").CurrentRegion
Set criteria_rng = Worksheets("Activeplants").Range("A1").CurrentRegion
source_rng.AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=criteria_rng
End Sub
Please note that the headings in cell A1 of both sheets should be the same.
Hope this helps.