I would like to filter Col B on all sheets from sheet 6 onwards and to exclude zeroes in the filter
It would be appreciated if someone could kindly amend my code below
It would be appreciated if someone could kindly amend my code below
Code:
Sub auto_filter_all_sheets()
Dim ws As Worksheet
Application.ScreenUpdating = False
if selection.Rows.count < 3 then exit sub
sAddress = Selection.Address
For Each ws In ActiveWindow.SelectedSheets
ws.Range(sAddress).AutoFilter
Next ws
Application.ScreenUpdating = True
End Sub