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!

Need asp page to open up in Word.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello. I have an asp page that resembles a report. When the user clicks on a button, I need this report to open up in Word. Is this possible?

Thanks,
Rene
 
I found my own answer to this one and it works great.
I simply type the following two sentences into the header section of my page.

Note* for msExcel, replace msword with vnd.ms-excel

<%
Response.Buffer = True
Response.ContentType = &quot;application/msword&quot;
%>

Rene
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top