User Tools

Site Tools


microsoft_excel:macros:turn_filters_off

This is an old revision of the document!


Microsoft Excel - Macros - Turn Filters off

' Removes AutoFilter if one exists.
Sub TurnFilterOffAllSheets()
 
    Dim ws As Worksheet
 
    For Each ws In ActiveWorkbook.Worksheets
        With ws
            .AutoFilterMode = False
        End With
    Next ws
 
End Sub
microsoft_excel/macros/turn_filters_off.1628087270.txt.gz ยท Last modified: 2021/08/04 14:27 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki