Created
April 8, 2016 09:45
-
-
Save danwagnerco/1139d49f9bda3f1f36742efd23339a40 to your computer and use it in GitHub Desktop.
The clear (turn off) filter functionality from our move data based on dates subroutine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' | |
'INPUT : Sheet, the Worksheet to turn off (clear) filters on | |
'DESCRIPTION : This sub clears (turns off) all filters on a Worksheet | |
'SPECIAL CASE: none | |
Public Sub ClearAllFilters(Sheet As Worksheet) | |
Sheet.AutoFilterMode = False | |
If Sheet.FilterMode = True Then | |
Sheet.ShowAllData | |
End If | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment