ASP & Excel

O

Oded

Hi,
I'm trying to export an ASP based report to Excel while preserving its
display properties. I've added:
Response.ContentType="application/vnd.ms-excel", and it works fine for
several clients. For other clients it displays an emptry excel sheet.
I'm not sure, but i think it has something to do with the excel version
installed on clients - empty sheets were displayed for Excel 2000 clients
while clients running Excel 2002 displayed the report correctly.
If I add: Response.AddHeader("attachment","file_name=%file_name%"), all
clients display the data correctly but the styles are lost.
If anyone knows of a solution other than reformatting the report for excel,
it will be very helpful.
Thanks
 

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

Similar Threads

ASP Export to Excel 3
troubles with Excel 1
ASP html to Excel 2003 0
Exporting images to excel? 1
ASP to Excel Image Alignment Problems 2
How Excel file is generated? 1
ASP to EXCEL 1
Exporting to Excel 0

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top