Sample source code below will display you how to manage a complex task like convert csv to xls with spreadsheet sdk in VBScript. 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). It can be applied to convert csv to xls with spreadsheet sdk using VBScript.
Want to quickly learn? This fast application programming interfaces of ByteScout Barcode Suite for VBScript plus the guidelines and the code below will help you quickly learn how to convert csv to xls with spreadsheet sdk. Simply copy and paste in your VBScript project or application you and then run your app! Further improvement of the code will make it more robust.
The trial version of ByteScout Barcode Suite can be downloaded for free from our website. It also includes source code samples for VBScript and other programming languages.
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"