Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 339 Bytes

Hide-Unhide-Rows-And-Columns.md

File metadata and controls

16 lines (11 loc) · 339 Bytes

HideUnhide.jpg

(Rows 1 and 3, and columns A and C are hidden)

var wb = new XLWorkbook();
var ws = wb.Worksheets.Add("Hide Unhide");

ws.Columns(1, 3).Hide();
ws.Rows(1, 3).Hide();

ws.Column(2).Unhide();
ws.Row(2).Unhide();

wb.SaveAs("HideUnhide.xlsx");