Export Excel to HTML with GridLines

Export Excel to HTML with GridLines

The following sample code creates a workbook, fills its worksheet with some values, and then saves it in HTML format after setting the HtmlSaveOptions.ExportGridLines to true.