Excel fra ASP.
Hejsa jeg har denne kode:Dim ExcelSheet
Set ExcelSheet = CreateObject("Excel.Sheet")
' Make Excel visible through the Application object.
'ExcelSheet.Application.Visible = True
' Place some text in the first cell of the sheet.
'ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1"
' Save the sheet.
ExcelSheet.SaveAs "C:\DOCS\TEST.XLS"
' Close Excel with the Quit method on the Application object.
'ExcelSheet.Application.Quit
' Release the object variable.
Set ExcelSheet = Nothing
Men jeg får denne fejl:
Fejltype:
(0x80010108)
Objektet er frakoblet dets klienter.
Hvad skal jeg gøre?
