can't create Excel App.

M

Marc Miller

I have a vbscript in an .asp page that issues the following:

Set xlApp = CreateObject("Excel.Application")

When I run my page, I get the error:

ActiveX Component can't create object: 'Excel Application'

However, I can use the same type of syntax in Visual Foxpro and instantiate
the object (o=CreateObject("Excel.Application"). I have tried
this on Windows XP using Office 2003 and on NT Advanced Server using Office
2002 and I get the same error.
This was code downloaded from www.codeproject.com, although I have tried
several MSFT examples and cannot instantiate the
Excel object?

Any input?

Thanks,
Marc Miller
 
S

Scott M.

This is a newsgroup for ASP.NET not classic ASP.

You might try this code:

Set xlApp = Server.CreateObject("Excel.Application")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top