Generate Excel File Using ASP

L

LBT

Hi experts,

With response.contenttype = "application/vnd.ms-excel", I can easily export
my data to Excel which is embeded and shown within a browser.

If I'm going to save the Excel file through ASP programming, which method
can I use? I need to save the data to Excel file with dynamic name (the file
name should contain key values and appended with system datetime).

Thanks a lot
 
T

Tom Kaminski [MVP]

LBT said:
Hi experts,

With response.contenttype = "application/vnd.ms-excel", I can easily export
my data to Excel which is embeded and shown within a browser.

If I'm going to save the Excel file through ASP programming, which method
can I use? I need to save the data to Excel file with dynamic name (the file
name should contain key values and appended with system datetime).

Use this method, but add some variables in the filename as appropriate:
http://www.aspfaq.com/show.asp?id=2129
 

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
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top