vba check if filter is on and turn off

The solution for “vba check if filter is on and turn off” can be found here. The following code will assist you in solving the problem.

Public Sub ClearFilter()
  If ActiveSheet.FilterMode = True Then
   ActiveSheet.ShowAllData
  End If
End Sub

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts