Auto - Filter (check on/off Status)
The function "Selection.Autofilter" can be used to add/remove an auto filter to a selected row. If a row has auto filters all ready on it, then using "Selection.Autofilter" removes these auto - filters. If a row does not have auto - filters then using "Selection.Autofilter" adds auto - filters to that row. Is then any way that I can run a "check" that will tell me if that row has auto-filters all ready set on it..?
Thanks a lot for the help.
asingh
checking if autofilter criteria is in force
So how do you establish if an auto filter criteria is in place ?
What i would like to do is to show all data if a filter is in place. I know i can achieve that if i switch off all filtering and recreate the filtering but I want to keep the existing auto filter. Also I don;t like doing it by allowing ShowAllData to error and ignoring the error - i just want to make sure that all rows are visible and there are no filtered out rows. Doing Activesheet.showalldata fails if a filter criteria is not selected.
Regards