sample csv file

Excel VBA How to Clear All Filters

AutoFilterMode will be True if engaged, regardless of whether there is actually a filter applied to a specific column or not. When this happens, ActiveSheet.ShowAllData will still run, throwing an error (because there is no actual filtering). I had the same issue and got it working with This seems to prevent ShowAllData from running when there is Read More