Link Search Menu Expand Document

Export To HTML - VBScript

Spreadsheet SDK sample in VBScript demonstrating ‘Export To HTML’

ExcelToHtml.vbs
Set document = CreateObject("Bytescout.Spreadsheet.Spreadsheet")

document.RegistrationName = "demo"
document.RegistrationKey = "demo"

document.LoadFromFile("TestForHtmlExport.xls")

' Export whole document to set of HTML files
document.SaveAsHTML "Document.html"

' Export single worksheet
document.Worksheets.Item(0).SaveAsHTML "Worksheet1.html"


Download Source Code (.zip)

Return to the previous page Explore Spreadsheet SDK


Copyright © 2016 - 2021 ByteScout