Function HiddenCellsInRange(rngTest As Range) As Boolean
Dim vCell As Variant
For Each vCell In rngTest
If vCell.EntireRow.OutlineLevel > 1 Or _
vCell.RowHeight <= 0 Or vCell.ColumnWidth <= 0 Then
HiddenCellsInRange = True
Exit Function
End If
Next vCell
End Function
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.