Export Excel to HTML with GridLines
Contents
[
Hide
]
If you want to export your Excel file into HTML with GridLines, then please use the HtmlSaveOptions.ExportGridLines property and set it true.
Export Excel to HTML with GridLines
The following sample code creates a workbook and fills its worksheet with some values and then saves it in HTML format after setting the HtmlSaveOptions.ExportGridLines to true.