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)

Syntax

'Declaration
Property Hidden As Object
Object Hidden { get; set; }

Property Value

Type: System.Object
true if the rows or columns are hidden; otherwise, false.

Remarks

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.

.NET Framework Security

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace