This documentation is archived and is not being maintained.

NamedRange.Hidden Property


Gets or sets an object that indicates whether the rows or columns are hidden.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

object Hidden { get; set; }

Property Value

Type: System.Object

true if the rows or columns are hidden; otherwise, false.

The NamedRange control must span an entire column or row. You must access this property using the EntireRow or EntireColumn property, for example namedRange1.EntireRow.Hidden = true.

Do not confuse this property with the FormulaHidden property.

Return to top