Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - Undo set filters 1

Status
Not open for further replies.

Bill4tektips

Technical User
Aug 5, 2005
175
GB
Does anyone know if there is a way to undo any set filters in an Excel spreadsheet? I have a large spreadsheet used by several people and someone always leaves a filter on and unless you have good eyes it's hard to spot the Blue arrow from the Black.
 
not entirely sure what you're asking but
data>filter>show all
clears the filters

i have the 'show all' button on a custom commandbar as i'm far too lazy for the menu route!

;-)
If a man says something and there are no women there to hear him, is he still wrong? [ponder]
How do I get the best answers?
 

Hi,

Right-Click in the toolbar.

Select Customize...

Select the Commands Tab.

Select the Data Category.

Drag Show All Icon to an existing toolbar.

VOLA! y'all!

I also have the AutoFilter Icon right next to it in my toolbar.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Thanks Skip, that works but I was looking for a Macro to do it when the file opens. If you have to depend on people doing it manually they just won't do it, then I get a phone call asking what is wrong so a Macro would help.
 
I also have the AutoFilter Icon right next to it in my toolbar.
me too - spooky or what or do i just need to get out more.....

Code:
With Worksheets(1)
If .AutoFilterMode And .FilterMode Then .ShowAllData
End With
in the workbook_open event should do the trick

;-)
If a man says something and there are no women there to hear him, is he still wrong? [ponder]
How do I get the best answers?
 


I'm lazy...
Code:
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
  on error resume next
  sh.showall
  on error goto 0
End Sub


Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 

In the ThisWorkbook Object Code Window

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 



Code:
sh.showall[b]data[/b]
duh! sorry [blush]

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 


And likewise, greatful for yours as well.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top