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

Create Excel file for download

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
At the moment on our company site, it is possible for our customers to view what we have shipped to them on a certain date. They pick the date and a HTML table is displayed showing them all the shipment information.

One of our customers has requested that there is also a link to an Excel file containing the same information that can be downloaded. Can anyone advise me how I can do this?

Is it just a case of using an ASP program to output a page where the type is an excel application.

All help would be greatly appreciated.

Mighty
 
the best way is to use the CSV format.

simply write a text file with valuse seperated by commas. ie:

Line1 Field1 Value,Field2 Value, Field3 Value
Line2 Field1 Value,Field2 Value, Field3 Value


save the file as .csv and allow download. he can now open it in excel.

Note: CSV will not give u any excel effects. just the grid.

Known is handfull, Unknown is worldfull
 
use the Office API to create an ExcelBook.
visit:
thread333-147841 will surely solve your problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top