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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why is HTML being displayed? 1

Status
Not open for further replies.

kina1

MIS
Sep 20, 2001
15
0
0
US
When I try to export my web based report to Excel, only HTML shows, not the report. What could be wrong?

Any assistance is greatly appreciated!!

Thanks!
 
Code:
<%
	
   'Change HTML header to specify Excel's MIME content type
    Response.ContentType = "application/vnd.ms-excel"
   
%>
<html>
<head>
<title>Your Title</title>
</head>
<body>
<%
    'code that generates your report
%>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top