I used this code to open an excel file, modify it and then return it in the same format (xls if the input file is xls, xlsx if the input file is xlsx, and so on). With the latest version of cells.dll, the worbook.save method I used is deprecated but I canot find how to replace it. Can you help me.
Workbook excelFile = new Workbook(FUpload.PostedFile.InputStream);
ms = new MemoryStream();