Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a large workbook that has the Autofilter available for many people to
view and I want to be able to reset the Autofilter to Show All before the workbook is saved or closed. Please explain how in code clearly for this novice. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I found that it's better to reset the autofilter when the workbook is opened.
If you reset it when you close the workbook, you'll have to save the workbook. And your users may not want to save their changes. This goes into a General module: Option Explicit Sub auto_open() dim wks as worksheet for each wks in thisworkbook.worksheets with wks If .FilterMode Then .ShowAllData End If end with next wks End Sub David J wrote: I have a large workbook that has the Autofilter available for many people to view and I want to be able to reset the Autofilter to Show All before the workbook is saved or closed. Please explain how in code clearly for this novice. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
showall not working | Excel Discussion (Misc queries) | |||
Macro to FilterShowAll on Protected workbook | Excel Programming | |||
How to Reset Workbook Counter? | Excel Programming | |||
Autofilter reset button | Excel Discussion (Misc queries) | |||
ShowAll Data | Excel Programming |