![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 232
|
Hi,
I need to have a msg box pop up advising the user to make sure all auto filters have been cleared before looking at the total results when they click on the "Summary Data" tab. Also, is there a way to have all auto filters in the entire workbook go back to "All" Cheers Matt |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Matt
Try this: Code:
Sub GoAwayFilters()
Dim wsSheet As Worksheet
On Error Resume Next
For Each wsSheet In ActiveWorkbook.Worksheets
wsSheet.ShowAllData
Next wsSheet
On Error GoTo 0
End Sub
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|