The VBA code I wrote above can be applied to an auto filter, but you should know the number of columns there are or at least where the filtering criteria columns are positioned...