closedxml hide column code example
Example: closedxml hide column
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");