I tried with the schema also , but still showing that warning msg.... :(
<cfset tabstr = "<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"">">
> <cfset tabstr= tabstr & "<head><style> @page {margin:.25in .25in .25in
> .25in; mso-page-orientation:landscape; mso-header-margin:.25in;
> mso-footer-margin:.25in; mso-horizontal-page-align:center;}</style>">
> <cfset tabstr= tabstr & "<!--[if gte mso
> 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:WorksheetOptions><x:Print><x:LeftToRight/><x:RowColHeadings/></x:Print></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><Table
> border='1'>">
>
> <cfset tabstr = tabstr & "<tr>">
> <cfloop list="#TheColumnList#" index="TheCol">
> <cfset tabstr = tabstr & "<th>"&TheCol&"</th>">
> </cfloop>
> <cfset tabstr = tabstr & "</tr>">
> <cffile action="write" file="C:/a.xls" output="#tabstr#"
> attributes="Temporary">
>
>
On Feb 5, 2008 9:44 AM, Timmy Tom <[EMAIL PROTECTED]> wrote:
>
> On Feb 4, 2008 10:56 PM, FROEHLING, ROBERT (ATTSI) <[EMAIL PROTECTED]> wrote:
>
> > Try adding the following when creating your HTML output:
> >
> > <html xmlns:0="urn:schemas-microsoft-com:office:office"
> > xmlns:x="urn:schemas-microsoft-com:office:excel"
> > xmlns="http://www.w3.org/TR/REC-html40">
> > <body>
> > <!--- table data content here --->
> > </body>
> > </html>
> >
> >
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298173
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4