VBScript Code - Writing values to excel
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
Set objWorkbook = objExcel.Workbooks.Add()
objWorkbook.worksheets("Sheet1").Cells(1, 1).Value = "Testing a value"
objWorkbook.SaveAs("C:\Book2.xlsx")
objExcel.Quit