I'm using this code to filter data based on a cell value:
With Sheets("A1")
.Range("A18:AM47").AutoFilter Field:=11, Criteria1:=.Range("K12").Value
End With
End Sub
I would like to run this on multiple sheets A1 through A15. Any help would be appreciated.
Thanks from a VBA novice.
With Sheets("A1")
.Range("A18:AM47").AutoFilter Field:=11, Criteria1:=.Range("K12").Value
End With
End Sub
I would like to run this on multiple sheets A1 through A15. Any help would be appreciated.
Thanks from a VBA novice.