Back to Papers and Articles | |
Building an Excel Spreadsheet using ASP Copyright 1999 Paragon Corporation ( July 27, 1999) |
|
The easiest way to build an Excel spreadsheet in HTML is to use the application/vnd.ms-excel content type specification. Specifying the content type of an HTML document as application/vnd.ms-excel will instruct the web browser to load the page in Excel. Note that this only works for Excel 97 and above because previous versions of Office do not register this content type.
This approach supports simple functionalities in Excel such as formulas, but does not support the more advanced features like creating multiple worksheets. Below is a sample ASP page that will generate an Excel spreadsheet:
Three things to remember:
| |
Back to Papers and Articles | |
|