Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To convert Excel to HTML using Aspose.Cells for Java in Ruby, simply invoke worksheet_to_html() method of Converter module.
Ruby Code
def worksheet_to_html(workbook)
save_format = Rjb::import('com.aspose.cells.SaveFormat')
# Specify the HTML saving options
save = Rjb::import('com.aspose.cells.HtmlSaveOptions').new(save_format.M_HTML)
# Save the document
workbook.save(@data_dir + "output.html", save)
puts "HTML saved successfully."
end Download Converting Excel Files to HTML (Aspose.Cells) from any of the below mentioned social coding sites:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.