checking if a column is hidden
One way:-
Sub imhidden()
Columns("b:b").Select
If Selection.EntireColumn.Hidden = True Then
MsgBox ("Can't see me")
Else
MsgBox ("I'm visible")
End If
End Sub
Mike
"John" wrote:
How would i write this in VBA please. I would like to check if a selection
of columns is hidden, then take an action depending on the circumstance.
Thanks
John
|