Hi there, hopefully not another Excel question but I have the folllowing code
However, I get the error
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'Excel.Application'
Any ideas?
I'm using dreamweaver.
Code:
<form ACTION="<%=Request.Servervariables("URL")%>" METHOD="Post" name="search" id="search" > <%
Dim xls
Set xls = CreateObject("Excel.Application")
with xls
.Application.Visible = TRUE
.Workbooks.Add
.Sheets ( "Sheet1" ).Select
.ActiveSheet.Cells(1,1).Value = "Now isnt this fun"
End With
%>
However, I get the error
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'Excel.Application'
Any ideas?
I'm using dreamweaver.