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
HP ML110 Disk Array failed
Brightstor 12.5 Exchange Agent issue
Random Excel 2007 crashes
where does oracle enterprise manger look
Counting number of checked checkboxes in a form (when checkboxes are all named differently)
HP Web JetAdmin uses lots of RAM
Windows Server 2008 DistributedCOM error in System Log
explanation of httpcontext needed
Dynamic NAT/PAT !! is it working properly?
IPMI baseboard management controller driver on Proliant ML350 G6