I use autofilter for a bunch of things from corporate reports. However, every now and then corporate changes the fields around which messes up my macros. If I am able to use named ranges instead of column numbers in the autofilter code I can fix really easy by just changing the column referenced in the name range.
Sheets("Current Pipeline").Range("$A$1:$AI$150000").AutoFilter Field:=4, Criteria1:=LC
I haven't been able to find a way to do it, any thoughts?
Sheets("Current Pipeline").Range("$A$1:$AI$150000").AutoFilter Field:=4, Criteria1:=LC
I haven't been able to find a way to do it, any thoughts?