#1   Report Post  
Posted to microsoft.public.excel.misc
Kathy
 
Posts: n/a
Default Filters

Is there a quicker way to reset filters then clicking on Data - filter -
show all?
Can I assign a cell to work as a "reset button"? If so how?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Filters

I've dragged the ShowAll icon to my favorite toolbar.

Tools|Customize|commands tab|data category
scroll down looking for "Show All" and drag it to your toolbar.

Kathy wrote:

Is there a quicker way to reset filters then clicking on Data - filter -
show all?
Can I assign a cell to work as a "reset button"? If so how?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Kathy
 
Posts: n/a
Default Filters

Thank you for your replies. The problem I have is other users using the
spreadsheet do not have the "Show All" button on their toolbars so I was
trying to create on in the spreadsheet. After playing for a while I found
you can insert an object such as a square to look like a button and attach a
macro to it to make the filter reset. It works great until you click the
button a second time an error 1004 comes up - any suggestions?

"Dave Peterson" wrote:

I've dragged the ShowAll icon to my favorite toolbar.

Tools|Customize|commands tab|data category
scroll down looking for "Show All" and drag it to your toolbar.

Kathy wrote:

Is there a quicker way to reset filters then clicking on Data - filter -
show all?
Can I assign a cell to work as a "reset button"? If so how?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Filters

You can have your macro check first:

Option Explicit
Sub testme()
With ActiveSheet
If .FilterMode Then
.ShowAllData
End If
End With
End Sub

There are actual buttons on the Forms toolbar (view|toolbars|forms) that you can
use, too.

Kathy wrote:

Thank you for your replies. The problem I have is other users using the
spreadsheet do not have the "Show All" button on their toolbars so I was
trying to create on in the spreadsheet. After playing for a while I found
you can insert an object such as a square to look like a button and attach a
macro to it to make the filter reset. It works great until you click the
button a second time an error 1004 comes up - any suggestions?

"Dave Peterson" wrote:

I've dragged the ShowAll icon to my favorite toolbar.

Tools|Customize|commands tab|data category
scroll down looking for "Show All" and drag it to your toolbar.

Kathy wrote:

Is there a quicker way to reset filters then clicking on Data - filter -
show all?
Can I assign a cell to work as a "reset button"? If so how?


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Kathy
 
Posts: n/a
Default Filters

Thanks Dave - I am not good at writing Macros - I usually record them.
Something I would like to learn but I typed in what you wrote below and I get
a compile error - Invalid inside procedure - any suggestions what I am going
wrong?

"Dave Peterson" wrote:

You can have your macro check first:

Option Explicit
Sub testme()
With ActiveSheet
If .FilterMode Then
.ShowAllData
End If
End With
End Sub

There are actual buttons on the Forms toolbar (view|toolbars|forms) that you can
use, too.

Kathy wrote:

Thank you for your replies. The problem I have is other users using the
spreadsheet do not have the "Show All" button on their toolbars so I was
trying to create on in the spreadsheet. After playing for a while I found
you can insert an object such as a square to look like a button and attach a
macro to it to make the filter reset. It works great until you click the
button a second time an error 1004 comes up - any suggestions?

"Dave Peterson" wrote:

I've dragged the ShowAll icon to my favorite toolbar.

Tools|Customize|commands tab|data category
scroll down looking for "Show All" and drag it to your toolbar.

Kathy wrote:

Is there a quicker way to reset filters then clicking on Data - filter -
show all?
Can I assign a cell to work as a "reset button"? If so how?

--

Dave Peterson


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Filters

This is procedure all its own. It doesn't go inside the existing code--it
replaces it.

Well, that is if your existing code doesn't do anything else.

You may want to just copy the guts of the code and place it into your procedu

This is the guts (ewww!):

With ActiveSheet
If .FilterMode Then
.ShowAllData
End If
End With



Kathy wrote:

Thanks Dave - I am not good at writing Macros - I usually record them.
Something I would like to learn but I typed in what you wrote below and I get
a compile error - Invalid inside procedure - any suggestions what I am going
wrong?

"Dave Peterson" wrote:

You can have your macro check first:

Option Explicit
Sub testme()
With ActiveSheet
If .FilterMode Then
.ShowAllData
End If
End With
End Sub

There are actual buttons on the Forms toolbar (view|toolbars|forms) that you can
use, too.

Kathy wrote:

Thank you for your replies. The problem I have is other users using the
spreadsheet do not have the "Show All" button on their toolbars so I was
trying to create on in the spreadsheet. After playing for a while I found
you can insert an object such as a square to look like a button and attach a
macro to it to make the filter reset. It works great until you click the
button a second time an error 1004 comes up - any suggestions?

"Dave Peterson" wrote:

I've dragged the ShowAll icon to my favorite toolbar.

Tools|Customize|commands tab|data category
scroll down looking for "Show All" and drag it to your toolbar.

Kathy wrote:

Is there a quicker way to reset filters then clicking on Data - filter -
show all?
Can I assign a cell to work as a "reset button"? If so how?

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default Filters

You can use the drop down in the header field, but maybe this is not quicker
that the one you use.
Other option is customize the toolbars, adding the "Show all" button there
(Tools - Customize - Commands - Select data in categories - Drag & drop
"Show all" to the toolbar)

Hope this helps,
Miguel.

"Kathy" wrote:

Is there a quicker way to reset filters then clicking on Data - filter -
show all?
Can I assign a cell to work as a "reset button"? If so how?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggested new functionalities for Filters, Pivots and other issues ed05h Excel Discussion (Misc queries) 0 April 30th 06 04:00 PM
Suggested new functionalities for Filters, Pivots and other issues ed05h Excel Discussion (Misc queries) 0 April 24th 06 10:01 PM
Filters, Subtotal & Intacted Results after the filters' Removal kasiopi Excel Discussion (Misc queries) 5 February 24th 06 12:18 PM
Filters in excel Crafty Carper Excel Worksheet Functions 2 February 8th 06 10:56 PM
How can I protect an excel worksheet containing filters? JMcG Excel Discussion (Misc queries) 4 April 13th 05 03:13 PM


All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"