I have this code:
Code:
Set oExcel = Server.CreateObject("OWC11.Spreadsheet")
Path=Server.MapPath("Ejercicio3.xls")
oExcel.Cells(1,1).Value = "Pete"
oExcel.Cells(1,2).Value = "John"
oExcel.Cells(1,3).Value = "Lana"
oExcel.ActiveSheet.Export Path, 0
And I get this error when executing the page:
Quote:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Export'
|
Any help and ideas will be greatly appreciated