Hi there. This is my first forum entry. I found the forum thanks to the YouTube videos I've been watching.
I have a spreadsheet that I would like to be able to dynamically filter without duplicating to another sheet or creating a table (the content grows so the range will grow too).
Anyway, what's happening is:
If I filter on the column for, for example 306, there's about 46 entries but if I use the dynamic filter I get about 4 entries.
Private Sub JobNumber_Change()
If Len(JobNumber.Value) = 0 Then
ActiveSheet.AutoFilterMode = False
Else
If ActiveSheet.AutoFilterMode = True Then
ActiveSheet.AutoFilterMode = False
End If
ActiveSheet.Range("A2:L" & Rows.Count).AutoFilter field:=4, Criteria1:="*" & JobNumber.Value & "*"
End If
End Sub
Excel usually either works or throws up an error so this one is weird.
Thank you to anyone who may be able to shed light on this oddity.
Martin