ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   group filtering (https://www.excelbanter.com/excel-programming/447246-group-filtering.html)

[email protected]

group filtering
 
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.

Ben McClave

group filtering
 
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

[email protected]

group filtering
 
On Thursday, September 27, 2012 7:30:07 AM UTC-4, wrote:
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.


All times are GMT +1. The time now is 10:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com