group filtering

K

kijijijt

I would like to filter out blanks in column K in all sheets within a workbook. For some reason when the sheets are grouped the filter option is not available. I appreciate any help. thanks.
 
B

Ben McClave

Assuming you have data in columns A:J, this should work:

Sub FilterAll()
Dim WS As Worksheet
For Each WS In ThisWorkbook.Worksheets
WS.Cells.AutoFilter 11, "<>"
Next
End Sub

-Ben
 
K

kijijijt

I would like to filter out blanks in column K in all sheets within a workbook. For some reason when the sheets are grouped the filter option is not available. I appreciate any help. thanks.

works, thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top