NamedRange.Hidden Property (2007 System)

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

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property Hidden As Object
'Usage
Dim instance As NamedRange 
Dim value As Object 

value = instance.Hidden

instance.Hidden = value
[BrowsableAttribute(false)]
public Object Hidden { get; set; }
[BrowsableAttribute(false)]
public:
property Object^ Hidden {
    Object^ get ();
    void set (Object^ value);
}
public function get Hidden () : Object 
public function set Hidden (value : Object)

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 Class

NamedRange Members

Microsoft.Office.Tools.Excel Namespace