Name

range.Hidden

Synopsis

True if the specified row or column is hidden. The following code hides column D:

Dim r As Range
 
Set r = ActiveSheet.Columns("D")
r.Hidden = True

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.