Hey all,
I have a spreadsheet where I have several filters set (using the typical methods). From time to time, I need to clear all of the filters.
Assume header row to be row 5, data columns in use: C thru K data beginning in row 6.
I would like to have this as a macro so that I can assign a button to do the task.
Any help is always greatly appreciated.
Thanks,
Brad
One Button click to "unfilter"
-
- 4StarLounger
- Posts: 538
- Joined: 30 Mar 2010, 18:49
- Location: United States
-
- Administrator
- Posts: 78488
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: One Button click to "unfilter"
The line
ActiveSheet.ShowAllData
will cancel all filtering on the active sheet. You can include this line in a macro.
ActiveSheet.ShowAllData
will cancel all filtering on the active sheet. You can include this line in a macro.
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 538
- Joined: 30 Mar 2010, 18:49
- Location: United States
Re: One Button click to "unfilter"
cool.
Thanks,
Brad
Thanks,
Brad
-
- NewLounger
- Posts: 2
- Joined: 25 Aug 2010, 15:09
Re: One Button click to "unfilter"
For anyone who doesn't want a macro to do this, the Data-Filter-Show All command can be moved (via customize) from the sub menu to the toolbars for a one-click 'unfilter all' operation.
-
- Administrator
- Posts: 78488
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: One Button click to "unfilter"
Welcome to Eileen's Lounge!
For those using Excel 2007 or later: the equivalent is the "Clear" button. You can customize the Quick Access Toolbar, select "Home Tab" in the "Choose commands from" dropdown, select Clear and add it to the Quick Access Toolbar.
For those using Excel 2007 or later: the equivalent is the "Clear" button. You can customize the Quick Access Toolbar, select "Home Tab" in the "Choose commands from" dropdown, select Clear and add it to the Quick Access Toolbar.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans