Export to html with spreadsheet sdk is simple to apply in VB.NET if you use these source codes below. Want to export to html with spreadsheet sdk in your VB.NET app? ByteScout Barcode Suite is designed for it. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK).
These VB.NET code samples for VB.NET guide developers to speed up coding of the application when using ByteScout Barcode Suite. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
If you want to try other source code samples then the free trial version of ByteScout Barcode Suite is available for download from our website. Just try other source code samples for VB.NET.
Imports Bytescout.Spreadsheet Imports System.IO Module Module1 Sub Main() ' Open Spreadsheet Dim document As New Spreadsheet() document.LoadFromFile("SimpleReport.xls") ' Get Worksheet Dim worksheet As Worksheet = document.Workbook.Worksheets(0) ' remove output file if already exists If File.Exists("Output.htm") Then File.Delete("Output.htm") End If ' Export to HTML worksheet.SaveAsHTML("Output.htm") ' Close Spreadsheet document.Close() ' open in default spreadsheets viewer/editor Process.Start("Output.htm") End Sub End Module