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
 
Top