How can I filter the entire spreadsheet in Excel VBA instead of the specific rows the macro discovered? -
here's minimal example. show rows particular element empty. here's excel macro generator gives me.
sub showempties() selection.autofilter activesheet.range("$a$1:$m$4922").autofilter field:=6, criteria1:="=" end sub
instead of a1-m4922, specific particular sheet, how can have filter entire sheet no matter how many rows there are?
usedrange
revers range of worksheet contains data:
activesheet.usedrange.autofilter field:=6, criteria1:="="
Comments
Post a Comment