Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Possible to use Excel Object when Server does not have MS Excel instal

Status
Not open for further replies.

xenomage

Programmer
Jun 27, 2001
98
SG
Hi all,

is it possible for my script to use excel object even through the server does not have excel on it?? Meaning, can i use this statement...

objExcel = Server.CreateObject("Excel.Application")

Thanks in advance.
 
However, it is possible to create an instance of excel in the user's browser (provided it is installed on their computer) using:

Response.ContentType = "application/vnd.ms-excel"

as the first line in the page. You cannot use include files on this page. The excel file is built in tables just like an html document.

Regards,
Joli
 
thanks to both of you.

jolim, the situation is such that i need to create an excel file on the server.

by using the method you stated, is it still possible??

many thanks..

 
xenomage -

It *may* be possible, but the server would have to have the Formula One ocx installed (I think it has the ability to create .xls files).

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top