Well, I know i've seen some threads on this, but I need to post this one again because everything I try doesn't seem to work.
This is my situation. I am running Windows 2000 Advanced Server (No service pack), IE 5.5 (Service Pack 1), the updated Windows Scripting Host (5.6) and Microsoft Office 2000. When I try to create an Excel file using the ActiveX control, I get the following error:
ActiveX component can't create object: "Excel.Application"
When I run this on a Win98 machine with Office 2000 installed, the code works fine. It will not run on ANY 2000 machines, Advanced Server or just Windows 2000 Workstation.
This is my code:
<script language='vbscript'>
Set objXL = CreateObject("Excel.Application"
objXL.Visible = TRUE
objXL.WorkBooks.Add
objXL.Columns(1).ColumnWidth=80
objXL.Cells(1,1).value = "HELP!!!!!!"
</script>
Can somebody please end my suffering!
This is my situation. I am running Windows 2000 Advanced Server (No service pack), IE 5.5 (Service Pack 1), the updated Windows Scripting Host (5.6) and Microsoft Office 2000. When I try to create an Excel file using the ActiveX control, I get the following error:
ActiveX component can't create object: "Excel.Application"
When I run this on a Win98 machine with Office 2000 installed, the code works fine. It will not run on ANY 2000 machines, Advanced Server or just Windows 2000 Workstation.
This is my code:
<script language='vbscript'>
Set objXL = CreateObject("Excel.Application"
objXL.Visible = TRUE
objXL.WorkBooks.Add
objXL.Columns(1).ColumnWidth=80
objXL.Cells(1,1).value = "HELP!!!!!!"
</script>
Can somebody please end my suffering!