Microsoft
Software
Hardware
Network
Question : How to clear an autofilter in VBA
Hi Experts, this should be an easy question, but I can't seem to find an answer. I need a line or two of code that will clear all the autofilters in a given worksheet. I have a sheet for which I refresh data on a regular basis, but if I have any filters set (which I often do) it screws up my refresh. I can toggle the auto filters off then back on - but this seems kind of kludgy.
-Thanks,
Answer : How to clear an autofilter in VBA
If ActiveSheet.FilterMode Then
ActiveSheet.ShowAllData
End If
Random Solutions
SBS 2008 - Unable to set a static IP
Netbios Windows 2008 R2 HYPER-V not pingable
Coookie not storing information
implementing aixpert on aix
Operation Must Use an Updateable Query
VBA Pase Special
how to transfer apps from my iphone to my itunes library
SBS2003 no http access just https
SharePoint - single user can't access Rich Text Editor
Microsoft Server Licensing