Collapse the table of content
Expand the table of content
Expand Minimize

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft