Link Search Menu Expand Document

Convert CSV to XLS - VBScript

Spreadsheet SDK sample in VBScript demonstrating ‘Convert CSV to XLS’

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

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

document.LoadFromFile("input.csv")

' save document
document.SaveAs "Output.xls"

' save as xlsx
document.SaveAs "Output.xlsx"

' close Spreadsheet
Set document = Nothing

MsgBox "Done! See output.xls"


Download Source Code (.zip)

Return to the previous page Explore Spreadsheet SDK