Excel VisualBasic Script

Sub Main()
     With ActiveSheet.ListObjects(1)
         If .ShowAutoFilter Then
             With .AutoFilter.Filters(2)
                 If .On Then
                    MsgBox .Criteria1
                 End If
             End With
         End If
     End With
End Sub