Hello everyone,
I'm trying to make a macro button that when clicked on it filters two criteria from column M and filters the top eight from column C.
This is what I got so far:
I'm trying to make a macro button that when clicked on it filters two criteria from column M and filters the top eight from column C.
This is what I got so far:
VBA Code:
Sub Filterfp()
With Worksheets("WaveFile").Range("A6")
.AutoFilter Field:=13, Criteria1:="FP", Operator:=xlOr, Criteria2:="BK"
.AutoFilter Field:=3, Criteria1:="8", Operator:=xlTop10Items
End With
End Sub