how to save xls file as xlsx file using NPOI c#?
问题 I'm using NPOI to open XLS file, then add some modifications to the XLS file. at the end i want to save it as XLSX file. i'm using this code to save it as XLS file: using (var fs = new FileStream(Name, FileMode.Create, FileAccess.Write)) { wb.Write(fs); } Is it possible to save this XLS file as XLSX file using NPOI in C# ? Thanks in advance for your response 回答1: It is possible in general, but not quite easy, rather it is significantly complicated task. XLS file format is handled by