Gets or sets a value that indicates whether the row is hidden.
[Visual Basic] Property Hidden As Boolean [C#] bool Hidden { get; set; } [C++] __property bool get_Hidden(); __property void set_Hidden(bool ); [JScript] function get Hidden() : bool function set Hidden(bool);
true if the row is hidden; otherwise, false.
This example hides the second row on sheet one.
[C#]
book.Worksheets[1].Cells.Rows[2].Hidden = true;
[Visual Basic]
book.Worksheets(1).Cells.Rows(2).Hidden = True
[C++]
book->Worksheets->Item[1]->Cells->Rows->Item[2]->Hidden = true;
IRangeRow Interface | NativeExcel Namespace | IRangeRows.Hidden Property | IRangeColumns.Hidden Property | IRangeColumn.Hidden Property