This works to test if a row is hidden...
However this does not work for Columns...
Any Ideas?
Code:
Public Function IsHiddenRow(par1 As Range) As Boolean
IsHiddenRow = False
If par1.Cells(1, 1).Rows.Height = 0 Then IsHiddenRow = True
End Function
However this does not work for Columns...
Code:
Public Function IsHiddenRow(par1 As Range) As Boolean
IsHiddenRow = False
If par1.Cells(1, 1).Columns.Width = 0 Then IsHiddenRow = True
End Function
Any Ideas?