Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 24th, 2005, 07:06 AM
Authorized User
 
Join Date: Sep 2004
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Nitin_sharma Send a message via Yahoo to Nitin_sharma
Default Excel File Open

Hi Guys,
Today I am trying to open an excel file from a link . Because the excel file shows different data so it follows through an asp file.
But I always get an error page not found.
The code is below :

<%@ LANGUAGE="VBSCRIPT" %>
<%Sub SendExcelData()%>

<%Sub SendExcelData()
    Response.ContentType = "application/vnd.ms-excel"
    Response.AddHeader "Content-disposition", "filename=Account.xls;"
%>

<table BORDER="1" CELLSPACING="0" WIDTH="70%">
<tr>
<td BGCOLOR="#336699"><b>Amount(£)</b></td>
</tr>
</table>
<%
End sub
%>

Any help would be very much appreciated.
Regards
nitin


 
Old January 24th, 2005, 02:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

have you looked at http://www.greggriffiths.org/webdev/both/excel/ ? it contains some working demos of this kind of code.





Similar Threads
Thread Thread Starter Forum Replies Last Post
open a excel file on local computer premnaath ASP.NET 2.0 Professional 1 December 4th, 2007 01:23 PM
Excel error cant open file Born2BFree Excel VBA 1 February 20th, 2007 01:05 PM
Open an Excel file using Access, pls help! sunny76 Access VBA 9 June 29th, 2005 02:14 AM
How to open Excel File in Access losartan Access 1 January 24th, 2005 06:08 PM
open excel file C# ? npqk VS.NET 2002/2003 2 November 26th, 2004 10:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.