S
Steve Kershaw
Hi,
I have a simple web page that starts Excel and fills it with some
dummy data. Using IE I can run this web page from the C: drive (IE: "C:
\startexcel.htm") and it runs fine. However, when I put the web page
in the wwwroot directory in IIS and try to run it there (IE: "http://
startexcel.htm") it gives me the error:
Error: ActiveX component can't create object: 'Excel.Application'
The code line that fires the error can be seen below:
<SCRIPT LANGUAGE="VBScript">
sub button1_onclick()
' Launch Excel
dim app
set app = createobject("Excel.Application")
end sub
Is there a way to start Excel from IIS using VBScript? Or JavaScript
even?
Thanks
Steve
I have a simple web page that starts Excel and fills it with some
dummy data. Using IE I can run this web page from the C: drive (IE: "C:
\startexcel.htm") and it runs fine. However, when I put the web page
in the wwwroot directory in IIS and try to run it there (IE: "http://
startexcel.htm") it gives me the error:
Error: ActiveX component can't create object: 'Excel.Application'
The code line that fires the error can be seen below:
<SCRIPT LANGUAGE="VBScript">
sub button1_onclick()
' Launch Excel
dim app
set app = createobject("Excel.Application")
end sub
Is there a way to start Excel from IIS using VBScript? Or JavaScript
even?
Thanks
Steve