How can I help you?
Does XlsIO support converting an XLSB file to XLSX?
18 Dec 20252 minutes to read
Yes. XlsIO supports converting an XLSB file to XLSX; however, the conversion is limited to cell values and cell styles.
The example below shows how to convert an XLSB file to an XLSX file.
using (ExcelEngine excelEngine = new ExcelEngine())
{
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Xlsx;
//Open an existing XLSB file
IWorkbook workbook = application.Workbooks.Open("Sample.xlsb");
//Save the file as XLSX
workbook.SaveAs("Output.xlsx");
}using (ExcelEngine excelEngine = new ExcelEngine())
{
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Xlsx;
//Open an existing XLSB file
IWorkbook workbook = application.Workbooks.Open("Sample.xlsb");
//Save the file as XLSX
workbook.SaveAs("Output.xlsx");
}Using excelEngine As New ExcelEngine()
Dim application As IApplication = excelEngine.Excel
application.DefaultVersion = ExcelVersion.Xlsx
' Open an existing XLSB file
Dim workbook As IWorkbook = application.Workbooks.Open("Sample.xlsb")
' Save the file as XLSX
workbook.SaveAs("Output.xlsx")
End Using