detect VBA autofilter

Z

Zack Barresse

Hi there,

Check the AutoFilterMode property of the worksheet object. Here is an
example...

If Sheets("Sheet1").AutoFilterMode = True Then
Msgbox "Autofilter On!", vbinformation
Else
Msgbox "Autofilter Off!", vbinformation
End if

HTH
 

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