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
How do I use the Windows XP installation disc to replace missing system files?
How can you search e-mail within Outlook 2010 and not use the index?
New Hire Workflow in WSS
Roaming Profiles in Windows 7 Pro and SBS 2008
MPP microsoft project plan. How can i open a file created in ver 2010 in MPP 2003 or 2007.
Mysql Query to select from two tables
Basic php/mysql questions
Excel 2007 Can Not Display Images From Web
Diffrence between debug & release versions
SSRS Combine two datasets into one data region - Must be in report not in SQL server