ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   AutoFilter and Hidden Rows (https://www.excelbanter.com/excel-programming/277982-autofilter-hidden-rows.html)

Greg Bloom

AutoFilter and Hidden Rows
 
When you set the autofilter on, how can you tell what rows have been hidden.
I am starting at the top of my workshett and using: ActiveCell.Offset(1,
0).Select. This returns rows that are hidden, and I want to ignore these
rows?

thanks
Greg



jim c.

AutoFilter and Hidden Rows
 
Try this...

Public Sub FindVisible1()
With ActiveSheet.AutoFilter.Range
.Offset(1, 0) _
.Resize(.Rows.Count - 1, .Columns.Count).Select
End With
End Sub



-----Original Message-----
When you set the autofilter on, how can you tell what

rows have been hidden.
I am starting at the top of my workshett and using:

ActiveCell.Offset(1,
0).Select. This returns rows that are hidden, and I want

to ignore these
rows?

thanks
Greg


.



All times are GMT +1. The time now is 02:19 AM.

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