If you want to show all value from a filter table, you need to check if there the table is filtered first, otherwise the Sheet1.ShowAllData will fail.
This is the solution
With Sheet1 If .AutoFilterMode Then If .FilterMode Then .ShowAllData End If End If End With
No comments:
Post a Comment