On this page you will learn from code samples for programming in VB.NET.Writing of the code to export to HTML in VB.NET can be done by developers of any level using ByteScout Spreadsheet SDK. Want to export to HTML in your VB.NET app? ByteScout Spreadsheet SDK is designed for it. ByteScout Spreadsheet SDK is the SDK component for writing, reading, modifying and calculating Excel and CSV spreadsheets. Can calculate and reculculate formulas with Excel installed. You may import or export data to and from CSV, XML, JSON. Supports export to databases, arrays, streams.
This code snippet below for ByteScout Spreadsheet SDK works best when you need to quickly export to HTML in your VB.NET application. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Code testing will allow the function to be tested and work properly with your data.
Free trial version of ByteScout Spreadsheet SDK is available on our website. Documentation and source code samples are included.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
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
60 Day Free Trial or Visit ByteScout Spreadsheet SDK Home Page
Explore ByteScout Spreadsheet SDK Documentation
Explore Samples
Sign Up for ByteScout Spreadsheet SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Spreadsheet SDK Home Page
Explore ByteScout Spreadsheet SDK Documentation
Explore Samples
Sign Up for ByteScout Spreadsheet SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: