There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
SaveAs changes existing format in excel sheets
I have already excel template which has already inserted with some formulas and formats to the cells.
This excel will open using application and saves necessary changes to sheets. and save the excel using saveas method.
wb = new XLWorkbook(FileName);
wb.CalculateMode = XLCalculateMode.Auto;
After saving, the excel formats are getting changed completely and calculations are going wrong. Percentage columns are changing to Date format. How can I proceed here by saving excel without changing existing formats. attached correct and incorrect excel.