Hide Worksheets

            var wb = new XLWorkbook();

            wb.Worksheets.Add("Visible");
            wb.Worksheets.Add("Hidden").Hide();
            wb.Worksheets.Add("Unhidden").Hide().Unhide();
            wb.Worksheets.Add("VeryHidden").Visibility = XLWorksheetVisibility.VeryHidden;

            wb.SaveAs("HideWorksheets.xlsx");

Last edited Mar 1, 2011 at 3:25 PM by MDeLeon, version 1