AutoFilter Property

See Also         Example         Applies To

Returns an AutoFilter object if filtering is on. Returns Nothing if filtering is off. Read-only.

Remarks

To create an AutoFilter object for a worksheet, you must turn autofiltering on for a range on the worksheet either manually or using the AutoFilter method of the Range object.