Search code examples
c#excelxlsxxlsb

Converting XLSB to XLSX without using Microsoft.Interop.Excel


As mention in title, is there any other ways I can use to convert XLSB to XLSX without using Microsoft.Interop.Excel?

I have check ExcelDataReader, EPPlus, CSharpJExcel, and NPOI and it does not support XLSB.


Solution

  • EasyXLS is a library that supports both xlsb and xlsx files.

    The below code is what you need for conversion:

    ExcelDocument workbook = new ExcelDocument();
    workbook.easy_LoadXLSBFile("Excel.xlsb");
    workbook.easy_WriteXLSXFile("Excel.xlsx");