Autofilter Testing

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
 
B

BrianB

There is no need to check. From "something I prepared earlier"

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top