USMCFROSTY
01-07-2011, 06:54 AM
I have a cmd button to clear the filters but when i protect the sheet i get an error.
Run-time error 1004
ShowAllData method of worksheet class failed
When i debug i get the highlight below
Private Sub CommandButton1_Click()
If ActiveSheet.FilterMode Then
ActiveSheet.ShowAllData
End If
End Sub
Looking for some help understanding this please.
Run-time error 1004
ShowAllData method of worksheet class failed
When i debug i get the highlight below
Private Sub CommandButton1_Click()
If ActiveSheet.FilterMode Then
ActiveSheet.ShowAllData
End If
End Sub
Looking for some help understanding this please.