diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index efb36d5ff..53f8ec261 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5790,6 +5790,9 @@
  • How to avoid conflicts when using multiple versions of Syncfusion libraries?
  • +
  • + Does XlsIO support converting an XLSB file to XLSX? +
  • diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/does-xlsio-support-converting-an-xlsb-file-to-xlsx.md b/Document-Processing/Excel/Excel-Library/NET/faqs/does-xlsio-support-converting-an-xlsb-file-to-xlsx.md new file mode 100644 index 000000000..6613de80a --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/does-xlsio-support-converting-an-xlsb-file-to-xlsx.md @@ -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 %} \ No newline at end of file