Autofilter Testing

  • Thread starter Thread starter Valeria
  • Start date Start date
V

Valeria

Dear experts,
I am using macros on files that are shared by different
users, and some of them use autofiltering to easily access
data.
How can I add to my macro a function (or anything else) to
test if the autofilter in a worksheet is switched on, and
in case switch it off?
Many thanks.
Kind regards,
Valeria
 
There is no need to check. From "something I prepared earlier"

Set SumSheet = ThisWorkbook.Worksheets("Consolidated")
SumSheet.AutoFilterMode = Fals
 
Back
Top