The sample source codes on this page shows how to convert CSV to XLS in VBScript. ByteScout Spreadsheet SDK is the SDK that can write and read, modify and calculate Excel and CSV spreadsheets. Most popular formulas are supported. You may import or export data to and from CSV, XML, JSON as well as to and from databases, arrays. It can convert CSV to XLS in VBScript.
VBScript code samples for VBScript developers help to speed up coding of your application when using ByteScout Spreadsheet SDK. In order to implement the functionality, you should copy and paste this code for VBScript below into your code editor with your app, compile and run your application. Further enhancement of the code will make it more vigorous.
Free trial version of ByteScout Spreadsheet SDK is available on our website. Documentation and source code samples are included.
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"