Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: MsgBox help please

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Posts
    232
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •