Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Document-Processing-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -5790,6 +5790,9 @@
<li>
<a href="/document-processing/excel/excel-library/net/faqs/how-to-avoid-conflicts-when-using-multiple-versions-of-Syncfusion-libraries">How to avoid conflicts when using multiple versions of Syncfusion libraries?</a>
</li>
<li>
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-converting-an-xlsb-file-to-xlsx">Does XlsIO support converting an XLSB file to XLSX?</a>
</li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
title: Convert XLSB to XLSX using XlsIO | Syncfusion
description: This page explains how to convert an XLSB file to XLSX with the Syncfusion .NET Excel (XlsIO) library.
platform: document-processing
control: XlsIO
documentation: UG
---

# Does XlsIO support converting an XLSB file to XLSX?

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.

{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}
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");
}
{% endhighlight %}

{% highlight c# tabtitle="C# [Windows-specific]" %}
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");
}
{% endhighlight %}

{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
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
{% endhighlight %}
{% endtabs %}