Reputation: 19727
Below line detects if there are active AutoFilter
in a sheet.
Debug.Print Sheet1.AutoFilterMode
This returns True
if there are active filters in Sheet1, False
otherwise.
My problem is, this doesn't detect AutoFilter
on Tables.
Is there a way to detect AutoFilterMode
on Tables, a property I might have missed?
Upvotes: 1
Views: 246
Reputation: 166316
activesheet.listobjects(1).showautofilter
will be True if the Autofilter controls are showing.
Upvotes: 3