ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   AutoFilter (https://www.excelbanter.com/excel-programming/331674-re-autofilter.html)

rjamison

AutoFilter
 
Get rid of the arrows????
ActiveSheet.AutoFilterMode = False
It won't hurt if the sheet doesn't have autofilter applied.

Keep the arrows, but show all the data???

With ActiveSheet
If .AutoFilterMode Then
If .FilterMode Then
..ShowAllData
End If
End If
End With





Gareth wrote:


How, by code, can I check if autofilter is on?

If it is on, switch it off.

Thanks in advance.

Gareth



--

Dave Peterson



All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com