I have a code below.
Sub step_9()
Worksheets("sap_input").Activate
Range("tbl_sap_input[#All]").AdvancedFilter Action:=xlFilterInPlace, _
CriteriaRange:=ActiveWorkbook.Sheets("ex_types").Range("B25:B" & Range("B" & Rows.Count).End(xlUp).Row), Unique:=False
End Sub
So, once I change .Range("B25:B" & Range("B" & Rows.Count).End(xlUp).Row)
to .Range("B25:B37")
, everything works fine.
Can you please advise, how to fix?