I was wondering if anybody can tell me how to exclude a specific value from a filter after I run my macro. I have the code at the end so it runs last however I am needing to always exclude 0 and #N/A from the output. I cannot tell it what values to include because they change with every run of the macro. So I can only tell it what to filter out. Currently the code I am running is:
Sheets("QuickBase Import").Range("$A$3:$T$1131").AutoFilter Field:=20, Criteria1:= _
"<>0"
Sheets("QuickBase Import").Range("$A$3:$T$1131").AutoFilter Field:=3, Criteria1:= _
"<>#N/A"
However the issue is that the filter will filter out values other than these two which is not ideal. Thanks
Sheets("QuickBase Import").Range("$A$3:$T$1131").AutoFilter Field:=20, Criteria1:= _
"<>0"
Sheets("QuickBase Import").Range("$A$3:$T$1131").AutoFilter Field:=3, Criteria1:= _
"<>#N/A"
However the issue is that the filter will filter out values other than these two which is not ideal. Thanks