Article ID: 271572 - Last Review: August 14, 2007 - Revision: 6.3 How to format an Excel workbook while streaming MIME contentThis article was previously published under Q271572 SUMMARY This article demonstrates how you can use Active Server
Pages (ASP) to create a formatted workbook that can be streamed as MIME content
to Microsoft Excel. MORE INFORMATION Excel can persist storage information in a format that
is an HTML/XML hybrid. When you save an Excel 2000 workbook as a Web page,
Excel creates a file that contains a combination of HTML tags and XML tags that
have special meaning to Excel. A workbook saved in this format can go from
Excel to the browser and back to Excel again (a "round trip") without losing
workbook integrity. When you open a workbook saved as a Web page in Internet Explorer, the HTML tags are used to render the document. When you open a workbook in this format in Excel, Excel uses the XML tags for settings that might pertain to the workbook, worksheets, rows and columns. For more information on using HTML and XML with Excel 2000, see "Microsoft Office HTML and XML Reference" at the following MSDN Web site: http://msdn2.microsoft.com/en-us/library/Aa155477(office.10).aspx
(http://msdn2.microsoft.com/en-us/library/Aa155477(office.10).aspx)
Using ASP, you can create your own documents in Excel's HTML/XML
format so that when the document is streamed to the client browser, it is
displayed in Excel. You can control the cell placement of data and specify any
workbook or worksheet settings that are supported by Excel's HTML/XML format.
To create an Excel workbook in the HTML/XML format and then stream it as MIME
content to Excel on the client, follow these steps:
REFERENCES
For more information about streaming MIME content to Office applications, click the following article numbers to view the articles in the Microsoft Knowledge Base:
266263
(http://support.microsoft.com/kb/266263/
)
BUG: Word 2000 and Excel 2000 display ASP source when using MIME type to stream data
199841
(http://support.microsoft.com/kb/199841/
)
How to display ASP results using Excel in IE with MIME types
For more information on Office Automation, visit
the Microsoft Office Development support site: http://support.microsoft.com/ofd
(http://support.microsoft.com/ofd)
| Article Translations
|
Back to the top
