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 property.

Example

This example hides column C on Sheet1.

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

See also: