I want to Full a excel sheet from a web site using ASP
if I run this code as .vbs it works
Code:
Dim App_Excel
Dim App_Sheet
Dim Excel_Book
call OPen_excel_file("C:\Excel\Template.xls","Clients")
App_Sheet.Range("A1").value ="Done"
App_Excel.ActiveWorkbook.SaveAs "C:\Excel\Template1.xls" ,true
Call Quit_Excel
Sub Open_Excel_File(FileName , SheetName)
Set App_Excel = CreateObject("Excel.Application")
Set Excel_Book = App_Excel.Workbooks.Open(FileName)
Set App_Sheet = App_Excel.Worksheets.Item(SheetName)
App_Sheet.Select
App_Excel.Application.Visible = false
End Sub
Sub Quit_Excel()
App_Excel.DisplayAlerts = True
App_Excel.Application.Quit
Set App_Excel = Nothing
End Sub
User must login via windows Login screen
let say person1 they get in and can do there work cool
when they exe the above code and i look in the task manager I can see the execl.exe has been EXE by person1 cool
but i get a error
Microsoft Excel error '800a03ec'
Document not saved.
/excelit.asp, line 14
line 14 is the save bit
person1 has security set to Full Control over only the folder "excel"
have done the dcomcnfg thing as execl runing ok
so what am i missing
its been a long nite
even a check list on what should turn on/off