



User Guide EasyXLS Basics Convert files Convert XLS to XLSB Tweet Convert XLS to XLSB Concept EasyXLS™ library allows you to convert Excel XLS file format to Excel XLSB file format.



EasyXLS can be successfully used inclusively to convert large Excel files having big volume of data with fast converting time. EasyXLS permits you to convert Excel files without Excel installed, without Interop or any other additional software installed.



The conversion is made in two steps. First, the XLS file is imported and after that, the data is exported to XLSB file. Once the XLS was loaded in memory, optionally, the user can process data, add more features (like formulas, cell formatting, comments, hyperlinks, images, data validations, page setup, charts, and so on) and save the file back in XLSB Excel file format. Concept in action The below example is a common code about how to convert Excel XLS file to XLSB file. Source code sample C#.NET VB.NET C++.NET J#.NET Java PHP ASP C++ VB6 VBS Coldfusion // Create an instance of the class used to import/export Excel files ExcelDocument workbook = new ExcelDocument(); // Import XLS file workbook.easy_LoadXLSFile("C:\\Samples\\Excel.xls"); // Export XLSB file workbook.easy_WriteXLSBFile("C:\\Samples\\Excel.xlsb"); ' Create an instance of the class used to import/export Excel files Dim workbook As New ExcelDocument ' Import XLS file workbook.easy_LoadXLSFile("C:\Samples\Excel.xls") ' Export XLSB file workbook.easy_WriteXLSBFile("C:\Samples\Excel.xlsb") // Create an instance of the class used to import/export Excel files ExcelDocument *workbook = new ExcelDocument(); // Import XLS file workbook->easy_LoadXLSFile("C:\\Samples\\Excel.xls"); // Export XLSB file workbook->easy_WriteXLSBFile("C:\\Samples\\Excel.xlsb"); // Create an instance of the class used to import/export Excel files ExcelDocument workbook = new ExcelDocument(); // Import XLS file workbook.easy_LoadXLSFile("C:\\Samples\\Excel.xls"); // Export XLSB file workbook.easy_WriteXLSBFile("C:\\Samples\\Excel.xlsb"); // Create an instance of the class used to import/export Excel files ExcelDocument workbook = new ExcelDocument(); // Import XLS file workbook.easy_LoadXLSFile("C:\\Samples\\Excel.xls"); // Export XLSB file workbook.easy_WriteXLSBFile("C:\\Samples\\Excel.xlsb"); // Create an instance of the class used to import/export Excel files $workbook = new COM("EasyXLS.ExcelDocument"); // Import XLS file $workbook->easy_LoadXLSFile("C:\Samples\Excel.xls"); // Export XLSB file $workbook->easy_WriteXLSBFile("C:\Samples\Excel.xlsb"); ' Create an instance of the class used to import/export Excel files set workbook = Server.CreateObject("EasyXLS.ExcelDocument") ' Import XLS file workbook.easy_LoadXLSFile("C:\Samples\Excel.xls") ' Export XLSB file workbook.easy_WriteXLSBFile("C:\Samples\Excel.xlsb") // Create an instance of the class used to import/export Excel files EasyXLS::IExcelDocumentPtr workbook; hr = CoCreateInstance(__uuidof(EasyXLS::ExcelDocument), NULL, CLSCTX_ALL, __uuidof(EasyXLS::IExcelDocument), (void**) &workbook) ; // Import XLS file workbook->easy_LoadXLSFile("C:\\Samples\\Excel.xls"); // Export XLSB file workbook->easy_WriteXLSBFile("C:\\Samples\\Excel.xlsb"); ' Create an instance of the class used to import/export Excel files Set workbook = CreateObject("EasyXLS.ExcelDocument") ' Import XLS file workbook.easy_LoadXLSFile("C:\Samples\Excel.xls") ' Export XLSB file workbook.easy_WriteXLSBFile("C:\Samples\Excel.xlsb") ' Create an instance of the class used to import/export Excel files set workbook = CreateObject("EasyXLS.ExcelDocument") ' Import XLS file workbook.easy_LoadXLSFile("C:\Samples\Excel.xls") ' Export XLSB file workbook.easy_WriteXLSBFile("C:\Samples\Excel.xlsb") <!-- Create an instance of the class used to import/export Excel files --> <cfobject type="java" class="EasyXLS.ExcelDocument" name="workbook" action="CREATE"> <!-- Import XLS file --> <cfset ret = workbook.easy_LoadXLSFile("C:\Samples\Excel.xls")> <!-- Export XLSB file --> <cfset ret = workbook.easy_WriteXLSBFile("C:\Samples\Excel.xlsb")> Convert between Excel file formats EasyXLS also allows you to convert between other Excel file formats including XLSX, XLS, XLSB or XLSM files. See also: Getting started with EasyXLS Excel library To download the trial version of EasyXLS Excel Library, press the below button:





If you already own a license key, you may login and download EasyXLS from your account.



See also:

Related methods:

Available for: Professional