Here is a filter macro that I use on a daily basis..
How do I modify this for a range that changes daily.
and How do I add an if statement like:
If Results = 0,
Then clear filters and run Firmsignoff Macro (Application.Run "personal. Xlsb! FirmSignoff), save and close WB
Else do nothing
Sub Filter046()
'
' Filter046 Macro
'
' Keyboard Shortcut: Ctrl+d
'
Range("M6").Select
Selection.AutoFilter
ActiveSheet.Range("$A$1:$N$40").AutoFilter Field:=13, Criteria1:="046"
End Sub
How do I modify this for a range that changes daily.
and How do I add an if statement like:
If Results = 0,
Then clear filters and run Firmsignoff Macro (Application.Run "personal. Xlsb! FirmSignoff), save and close WB
Else do nothing
Sub Filter046()
'
' Filter046 Macro
'
' Keyboard Shortcut: Ctrl+d
'
Range("M6").Select
Selection.AutoFilter
ActiveSheet.Range("$A$1:$N$40").AutoFilter Field:=13, Criteria1:="046"
End Sub