ByteScout Spreadsheet SDK - VB.NET - Export To HTML - ByteScout

ByteScout Spreadsheet SDK – VB.NET – Export To HTML

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – VB.NET – Export To HTML

How to export to HTML in VB.NET and ByteScout Spreadsheet SDK

This code in VB.NET shows how to export to HTML with this how to tutorial

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.

Try ByteScout Spreadsheet SDK today: Get 60 Day Free Trial or sign up for Web API

Module1.vb
      
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

Try ByteScout Spreadsheet SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Spreadsheet SDK page

Explore ByteScout Spreadsheet SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next