Create an Excel File from and ASP page

C

Cathy Bro

I have been able to create and Active Server Page that when I link to
it will ask if I want to download to an excel file which I do want. It
works well, but there is one thing that I haven't been able to get to
work yet.

The ASP page has a logo picture in it and I want the picture to
download into the excel file also. It doesn't. My code is the
following:

Response.ContentType = "application/vnd.ms-excel"
Response.Buffer = true
Response.Clear
Response.AddHeader "Content-Disposition",
"attachment;filename=svra_excel.xls"

<!--#INCLUDE FILE="svra_report.asp"-->

the svra_report.asp is another page with the excel info in it.

Does anyone know how I can get the logo to download also?

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

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top