EasyXLS™ library allows you to convert an Excel file to HTML. The Excel file can be in XLSX, XLSM, XLSB or XLS file format.
EasyXLS can be successfully used inclusively to convert large Excel files to HTML, Excel files with big volume of data with fast converting time.
EasyXLS permits you to convert Excel to HTML file without Excel installed, without Interop or any other additional software installed.
EasyXLS also supports HTML files with specific character encoding.
The conversion is made in two steps. First, the Excel file is imported and after that, the data is exported to HTML file. Once the Excel file was loaded in memory, optionally, the user can process data, add more features (like formulas, cell formatting, hyperlinks or images) and save the file back in HTML format.
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import Excel file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html");
' Create an instance of the class used to import/export Excel filesDim workbook As New ExcelDocument()
' Import Excel file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file
workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html")
C++// 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 Excel file
workbook->easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file
workbook->easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html");
C++.NET// Create an instance of the class used to import/export Excel files
ExcelDocument ^workbook = gcnew ExcelDocument();
// Import Excel file
workbook->easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file
workbook->easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html");
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import Excel file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html");
.NET:// Create an instance of the class used to import/export Excel files
$workbook = new COM("EasyXLS.ExcelDocument");
// Import Excel file
$workbook->easy_LoadXLSXFile("C:\Samples\Excel.xlsx");
// Export HTML file
$workbook->easy_WriteHTMLFile("C:\Samples\Excel to HTML.html");
Java:// Create an instance of the class used to import/export Excel files
$workbook = new java("EasyXLS.ExcelDocument");
// Import Excel file
$workbook->easy_LoadXLSXFile("C:\Samples\Excel.xlsx");
// Export HTML file
$workbook->easy_WriteHTMLFile("C:\Samples\Excel to HTML.html");
' Create an instance of the class used to import/export Excel filesset workbook = Server.CreateObject("EasyXLS.ExcelDocument")
' Import Excel file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file
workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html")
' Create an instance of the class used to import/export Excel filesSet workbook = CreateObject("EasyXLS.ExcelDocument")
' Import Excel file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file
workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html")
' Create an instance of the class used to import/export Excel filesset workbook = CreateObject("EasyXLS.ExcelDocument")
' Import Excel file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file
workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html")
<!-- Create an instance of the class used to import/export Excel files --><cfobject type="java"class="EasyXLS.ExcelDocument"name="workbook"action="CREATE"><!-- Import Excel file --><cfset ret = workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")><!-- Export HTML file --><cfset ret = workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html")>
.NET:# Create an instance of the class used to import/export Excel files
workbook = ExcelDocument()
# Import Excel file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html")
Java:# Create an instance of the class used to import/export Excel files
workbook = gateway.jvm.ExcelDocument()
# Import Excel file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html")
Convert Excel to HTML file with encoding
EasyXLS allows you to convert Excel file into HTML file having a specific encoding. The below source code sample shows how to achieve this goal.
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file with specific encoding
System.IO.StreamWriter streamWriter = new System.IO.StreamWriter(
"C:\\Samples\\Excel to HTML.html", false, System.Text.Encoding.Unicode);
workbook.easy_WriteHTMLFile(streamWriter, "Sheet1");
' Create an instance of the class used to import/export Excel filesDim workbook As New ExcelDocument()
' Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file with specific encodingDim streamWriter As System.IO.StreamWriter = New System.IO.StreamWriter(
"C:\Samples\Excel to HTML.html", False, System.Text.Encoding.Unicode)
workbook.easy_WriteHTMLFile(streamWriter, "Sheet1")
C++// 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 Excel file having data in cells with special character encoding
workbook->easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file with specific encoding
workbook->easy_WriteHTMLFile_4("C:\\Samples\\Excel to HTML.html", "Unicode", "Sheet1");
C++.NET// Create an instance of the class used to import/export Excel files
ExcelDocument ^workbook = gcnew ExcelDocument();
// Import Excel file having data in cells with special character encoding
workbook->easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file with specific encoding
System::IO::StreamWriter ^streamWriter = gcnew System::IO::StreamWriter(
"C:\\Samples\\Excel to HTML.html", false, System::Text::Encoding::Unicode);
workbook->easy_WriteHTMLFile(streamWriter, "Sheet1");
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx");
// Export HTML file with specific encoding
java.io.OutputStream outputStream = new java.io.FileOutputStream(
"C:\\Samples\\Excel to HTML.html");
java.io.OutputStreamWriter outputStreamWriter = new java.io.OutputStreamWriter(
outputStream, java.nio.charset.Charset.forName("Unicode"));
workbook.easy_WriteHTMLFile(outputStreamWriter, "Sheet1");
.NET:// Create an instance of the class used to import/export Excel files
$workbook = new COM("EasyXLS.ExcelDocument");
// Import Excel file having data in cells with special character encoding
$workbook->easy_LoadXLSXFile("C:\Samples\Excel.xlsx");
// Export HTML file with specific encoding
$workbook->easy_WriteHTMLFile_4("C:\Samples\Excel to HTML.html", "Unicode", "Sheet1");
Java:// Create an instance of the class used to import/export Excel files
$workbook = new java("EasyXLS.ExcelDocument");
// Import Excel file having data in cells with special character encoding
$workbook->easy_LoadXLSXFile("C:\Samples\Excel.xlsx");
// Export HTML file with specific encoding
$workbook->easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Unicode", "Sheet1");
' Create an instance of the class used to import/export Excel filesset workbook = Server.CreateObject("EasyXLS.ExcelDocument")
' Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file with specific encoding
workbook.easy_WriteHTMLFile_4 "C:\Samples\Excel to HTML.html", "Unicode", "Sheet1"
' Create an instance of the class used to import/export Excel filesSet workbook = CreateObject("EasyXLS.ExcelDocument")
' Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file with specific encoding
workbook.easy_WriteHTMLFile_4 "C:\Samples\Excel to HTML.html", "Unicode", "Sheet1"
' Create an instance of the class used to import/export Excel filesset workbook = CreateObject("EasyXLS.ExcelDocument")
' Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")
' Export HTML file with specific encoding
workbook.easy_WriteHTMLFile_4 "C:\Samples\Excel to HTML.html", "Unicode", "Sheet1"
<!-- Create an instance of the class used to import/export Excel files --><cfobject type="java"class="EasyXLS.ExcelDocument"name="workbook"action="CREATE"><!-- Import Excel file having data in cells with special character encoding --><cfset ret = workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsx")><!-- Export HTML file with specific encoding --><cfset ret = workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html",
"Unicode", "Sheet1")>
.NET:# Create an instance of the class used to import/export Excel files
workbook = ExcelDocument()
# Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx")
# Export HTML file with specific encoding
streamWriter = System.IO.StreamWriter(
"C:\\Samples\\Excel to HTML.html", False, System.Text.Encoding.Unicode)
workbook.easy_WriteHTMLFile(streamWriter, "Sheet1")
Java:# Create an instance of the class used to import/export Excel files
workbook = gateway.jvm.ExcelDocument()
# Import Excel file having data in cells with special character encoding
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsx")
# Export HTML file with specific encoding
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Unicode", "Sheet1")
Convert XLSX to HTML
EasyXLS allows you to convert Excel XLSX file to HTML. The above code samples show how to achieve this goal, by using ExcelDocument.easy_LoadXLSXFile method.
EasyXLS allows you to convert Excel XLSM file to HTML using ExcelDocument.easy_LoadXLSXFile method to import the XLSM file. The below code sample shows how to achieve this goal.
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import XLSM file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsm");
// Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
' Create an instance of the class used to import/export Excel filesDim workbook As New ExcelDocument
' Import XLSM file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsm")
' Export HTML file
workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1")
C++// 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 XLSM file
workbook->easy_LoadXLSXFile("C:\\Samples\\Excel.xlsm");
// Export HTML file
workbook->easy_WriteHTMLFile_3("C:\\Samples\\Excel to HTML.html", "Sheet1");
C++.NET// Create an instance of the class used to import/export Excel files
ExcelDocument ^workbook = gcnew ExcelDocument();
// Import XLSM file
workbook->easy_LoadXLSXFile("C:\\Samples\\Excel.xlsm");
// Export HTML file
workbook->easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import XLSM file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsm");
// Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
.NET:// Create an instance of the class used to import/export Excel files
$workbook = new COM("EasyXLS.ExcelDocument");
// Import XLSM file
$workbook->easy_LoadXLSXFile("C:\Samples\Excel.xlsm");
// Export HTML file
$workbook->easy_WriteHTMLFile_3("C:\Samples\Excel to HTML.html", "Sheet1");
Java:// Create an instance of the class used to import/export Excel files
$workbook = new java("EasyXLS.ExcelDocument");
// Import XLSM file
$workbook->easy_LoadXLSXFile("C:\Samples\Excel.xlsm");
// Export HTML file
$workbook->easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1");
' Create an instance of the class used to import/export Excel filesset workbook = Server.CreateObject("EasyXLS.ExcelDocument")
' Import XLSM file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsm")
' Export HTML file
workbook.easy_WriteHTMLFile_3("C:\Samples\Excel to HTML.html", "Sheet1")
' Create an instance of the class used to import/export Excel filesSet workbook = CreateObject("EasyXLS.ExcelDocument")
' Import XLSM file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsm")
' Export HTML file
workbook.easy_WriteHTMLFile_3("C:\Samples\Excel to HTML.html", "Sheet1")
' Create an instance of the class used to import/export Excel filesset workbook = CreateObject("EasyXLS.ExcelDocument")
' Import XLSM file
workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsm")
' Export HTML file
workbook.easy_WriteHTMLFile_3 "C:\Samples\Excel to HTML.html", "Sheet1"
<!-- Create an instance of the class used to import/export Excel files --><cfobject type="java"class="EasyXLS.ExcelDocument"name="workbook"action="CREATE"><!-- Import XLSM file --><cfset ret = workbook.easy_LoadXLSXFile("C:\Samples\Excel.xlsm")><!-- Export HTML file --><cfset ret = workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1")>
.NET:# Create an instance of the class used to import/export Excel files
workbook = ExcelDocument()
# Import XLSM file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsm")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1")
Java:# Create an instance of the class used to import/export Excel files
workbook = gateway.jvm.ExcelDocument()
# Import XLSM file
workbook.easy_LoadXLSXFile("C:\\Samples\\Excel.xlsm")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1")
EasyXLS allows you to convert Excel XLSB file to HTML using ExcelDocument.easy_LoadXLSBFile method. The below code sample shows how to achieve this goal.
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import XLSB file
workbook.easy_LoadXLSBFile("C:\\Samples\\Excel.xlsb");
// Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
' Create an instance of the class used to import/export Excel filesDim workbook As New ExcelDocument
' Import XLSB file
workbook.easy_LoadXLSBFile("C:\Samples\Excel.xlsb")
' Export HTML file
workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1")
C++// 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 XLSB file
workbook->easy_LoadXLSBFile("C:\\Samples\\Excel.xlsb");
// Export HTML file
workbook->easy_WriteHTMLFile_3("C:\\Samples\\Excel to HTML.html", "Sheet1");
C++.NET// Create an instance of the class used to import/export Excel files
ExcelDocument ^workbook = gcnew ExcelDocument();
// Import XLSB file
workbook->easy_LoadXLSBFile("C:\\Samples\\Excel.xlsb");
// Export HTML file
workbook->easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
// Create an instance of the class used to import/export Excel files
ExcelDocument workbook = new ExcelDocument();
// Import XLSB file
workbook.easy_LoadXLSBFile("C:\\Samples\\Excel.xlsb");
// Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
.NET:// Create an instance of the class used to import/export Excel files
$workbook = new COM("EasyXLS.ExcelDocument");
// Import XLSB file
$workbook->easy_LoadXLSBFile("C:\Samples\Excel.xlsb");
// Export HTML file
$workbook->easy_WriteHTMLFile_3("C:\Samples\Excel to HTML.html", "Sheet1");
Java:// Create an instance of the class used to import/export Excel files
$workbook = new java("EasyXLS.ExcelDocument");
// Import XLSB file
$workbook->easy_LoadXLSBFile("C:\Samples\Excel.xlsb");
// Export HTML file
$workbook->easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1");
' Create an instance of the class used to import/export Excel filesset workbook = Server.CreateObject("EasyXLS.ExcelDocument")
' Import XLSB file
workbook.easy_LoadXLSBFile("C:\Samples\Excel.xlsb")
' Export HTML file
workbook.easy_WriteHTMLFile_3 "C:\Samples\Excel to HTML.html", "Sheet1"
' Create an instance of the class used to import/export Excel filesSet workbook = CreateObject("EasyXLS.ExcelDocument")
' Import XLSB file
workbook.easy_LoadXLSBFile("C:\Samples\Excel.xlsb")
' Export HTML file
workbook.easy_WriteHTMLFile_3 "C:\Samples\Excel to HTML.html", "Sheet1"
' Create an instance of the class used to import/export Excel filesset workbook = CreateObject("EasyXLS.ExcelDocument")
' Import XLSB file
workbook.easy_LoadXLSBFile("C:\Samples\Excel.xlsb")
' Export HTML file
workbook.easy_WriteHTMLFile_3 "C:\Samples\Excel to HTML.html", "Sheet1"
<!-- Create an instance of the class used to import/export Excel files --><cfobject type="java"class="EasyXLS.ExcelDocument"name="workbook"action="CREATE"><!-- Import XLSB file --><cfset ret = workbook.easy_LoadXLSBFile("C:\Samples\Excel.xlsb")><!-- Export HTML file --><cfset ret = workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1")>
.NET:# Create an instance of the class used to import/export Excel files
workbook = ExcelDocument()
# Import XLSB file
workbook.easy_LoadXLSBFile("C:\\Samples\\Excel.xlsb")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1")
Java:# Create an instance of the class used to import/export Excel files
workbook = gateway.jvm.ExcelDocument()
# Import XLSB file
workbook.easy_LoadXLSBFile("C:\\Samples\\Excel.xlsb")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1")
EasyXLS allows you to convert Excel XLS file to HTML using ExcelDocument.easy_LoadXLSFile method. The below code sample shows how to achieve this goal.
// 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 HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
' Create an instance of the class used to import/export Excel filesDim workbook As New ExcelDocument
' Import XLS file
workbook.easy_LoadXLSFile("C:\Samples\Excel.xls")
' Export HTML file
workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1")
C++// 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 HTML file
workbook->easy_WriteHTMLFile_3("C:\\Samples\\Excel to HTML.html", "Sheet1");
C++.NET// Create an instance of the class used to import/export Excel files
ExcelDocument ^workbook = gcnew ExcelDocument();
// Import XLS file
workbook->easy_LoadXLSFile("C:\\Samples\\Excel.xls");
// Export HTML file
workbook->easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
// 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 HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1");
.NET:// 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 HTML file
$workbook->easy_WriteHTMLFile_3("C:\Samples\Excel to HTML.html", "Sheet1");
Java:// Create an instance of the class used to import/export Excel files
$workbook = new java("EasyXLS.ExcelDocument");
// Import XLS file
$workbook->easy_LoadXLSFile("C:\Samples\Excel.xls");
// Export HTML file
$workbook->easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1");
' Create an instance of the class used to import/export Excel filesset workbook = Server.CreateObject("EasyXLS.ExcelDocument")
' Import XLS file
workbook.easy_LoadXLSFile("C:\Samples\Excel.xls")
' Export HTML file
workbook.easy_WriteHTMLFile_3("C:\Samples\Excel to HTML.html", "Sheet1")
' Create an instance of the class used to import/export Excel filesSet workbook = CreateObject("EasyXLS.ExcelDocument")
' Import XLS file
workbook.easy_LoadXLSFile("C:\Samples\Excel.xls")
' Export HTML file
workbook.easy_WriteHTMLFile_3 "C:\Samples\Excel to HTML.html", "Sheet1"
' Create an instance of the class used to import/export Excel filesset workbook = CreateObject("EasyXLS.ExcelDocument")
' Import XLS file
workbook.easy_LoadXLSFile("C:\Samples\Excel.xls")
' Export HTML file
workbook.easy_WriteHTMLFile_3("C:\Samples\Excel to HTML.html", "Sheet1")
<!-- 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 HTML file --><cfset ret = workbook.easy_WriteHTMLFile("C:\Samples\Excel to HTML.html", "Sheet1")>
.NET:# Create an instance of the class used to import/export Excel files
workbook = ExcelDocument()
# Import XLS file
workbook.easy_LoadXLSFile("C:\\Samples\\Excel.xls")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1")
Java:# Create an instance of the class used to import/export Excel files
workbook = gateway.jvm.ExcelDocument()
# Import XLS file
workbook.easy_LoadXLSFile("C:\\Samples\\Excel.xls")
# Export HTML file
workbook.easy_WriteHTMLFile("C:\\Samples\\Excel to HTML.html", "Sheet1")