Hi Again
Writing a script that will put some data into an excel document then display it on screen, however when the script runs it says "Object Required: Excel"...
... any ideas?
Code:Dim ExcelSheet ExcelSheet = CreateObject(Excel.Application) Excelsheet.Application.Visible = True ExcelSheet.Application.Cells(1,1) = "Username" ExcelSheet.Application.Cells(1,2) = "Date" ExcelSheet.Application.Cells(1,3) = "Time" ExcelSheet.Application.Cells(1,4) = "Machine Name" ExcelSheet.SaveAs "QuerybyUser" & qUserN & Replace(Date,"/","") & ".xls" ExcelSheet.Application.Quit Set ExcelSheet = Nothing
Thanks



LinkBack URL
About LinkBacks
Reply With Quote



