I’m trying to create 2-sheet xlsx file. First sheet is calculated data, second one is from App_data file.
When I get the resulting Excel from my web application, I see that BOTH sheets are selected, and if I try to amend first, cell in the second one also get amended.
I tried 20+ workarounds to deselect it, no success.
// wbook contains sheet with some data.
if (wbook.Worksheets.Count < 1)
throw new UserException(“Uploaded file should have at least one work sheet.”);
var glossary = new Workbook();
throw new UserException(“Cannot add Attribute Glossary”, e);
// after that sheets and  both are selected in output