I found that if you want to implement some of the more advanced
functionallity in Excel w/o using COM, you're better of creating an excel
sheet using <cffile> then redirecting to it using <cflocation>.  So for
example, to implement word wrap:

wordwrap.xls

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40";>
<head>
        <meta http-equiv=Content-Type content="text/html;
charset=windows-1252">
        <meta name=ProgId content=Excel.Sheet>
        <meta name=Generator content="Microsoft Excel">
</head>
<body>

<table>
<tr>
        <td width="100">This is an example of word wrapping.  Since the
width of this column is 100, this text wraps</td>
</tr>
</table>

</body>
</html>

and nowrap:

nowrap.xls

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40";>
<head>
        <meta http-equiv=Content-Type content="text/html;
charset=windows-1252">
        <meta name=ProgId content=Excel.Sheet>
        <meta name=Generator content="Microsoft Excel">
</head>
<body>

<table>
<tr>
        <td nowrap>This is an example of nowrap.  Yes, Excel will understand
this.</td>
</tr>
</table>

</body>
</html>

HTH

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to