Range.Hidden Property

Excel Developer Reference

Returns or sets a Variant value that indicates if the rows or columns are hidden.

Syntax

expression.Hidden

expression   A variable that represents a Range object.

Remarks

Set this property to True to hide a row or column. The specified range must span an entire column or row.

Don't confuse this property with the FormulaHidden property.

Example

This example hides column C on Sheet1.

Visual Basic for Applications
  Worksheets("Sheet1").Columns("C").Hidden = True

See Also