Hide Unhide Row(s)/Column(s)

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");

Last edited Nov 11, 2010 at 10:39 PM by MDeLeon, version 3