I'm an experiencing an issue with setting the ActiveCell property in the ExcelWorksheetView. Whenever I set the ActiveCell away from the default, and open the Excel file it gives me an error about needing to repair the excel worksheet.
This is how I am setting the cell:
using (ExcelPackage ex = new ExcelPackage(ms)) {
ExcelWorksheet ws = ex.Workbook.Worksheets["Item"];
...
ws.View.ActiveCell = "BP3";
...
}
Am I doing something wrong, or is this a known issue?
This is how I am setting the cell:
using (ExcelPackage ex = new ExcelPackage(ms)) {
ExcelWorksheet ws = ex.Workbook.Worksheets["Item"];
...
ws.View.ActiveCell = "BP3";
...
}
Am I doing something wrong, or is this a known issue?