Can someone explain why the code below does not actually hide the worksheet?
workbook.Worksheet("Saber Tooth Audit Legend").Hide();
workbook.Worksheet("Saber Tooth Audit Legend").Visibility = XLWorksheetVisibility.Hidden;
workbook.SaveAs(destination);
Does Hide not actually Hide? When I open the Excel file it's worse than not hidden the focus is set to that tab in particular. What the heck is going on?
Also when I Unhide a worksheet it does not Unhide().
Is it my code?
workbook.Worksheet("Saber Tooth Audit Legend").Hide();
workbook.Worksheet("Saber Tooth Audit Legend").Visibility = XLWorksheetVisibility.Hidden;
workbook.SaveAs(destination);
Does Hide not actually Hide? When I open the Excel file it's worse than not hidden the focus is set to that tab in particular. What the heck is going on?
Also when I Unhide a worksheet it does not Unhide().
Is it my code?