That worked perfectly! Thanks so much!!
B. Langston

> We always did a content reset which seems to work nicely...
> 
> <!---Reset Output --->
>       <!--- Set to excel mime type --->
>       <cfcontent reset="true" type="application/excel">
>       <cfheader name="Content-Disposition" value="attachment; 
> filename=acctDownload.xls">
>       <!--- header row --->
>       <table>
>               <tr>
> 
> 
> And then start your table data for xls output.
> 
> 
> J.J.
> 
> B. Langston wrote:
> > I have a page that allows users to click on a form button and 
> download a report to an Excel spreadsheet. This works fine in Firefox, 
> but I have problems with Internet Explorer.  The customer needs to 
> have the report open in Excel, but with IE it opens in the browser 
> window.  When you select File-Save As, it defaults to HTML format, 
> which can be a problem with some customers.  I have this in my 
> ColdFusion file, but it's not helping:
> > <cfcontent type="application/vnd.ms-excel">
> > <cfheader name="Content-Disposition" value="filename=MyReport.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">  
> > How can I set up IE or my form so that it always shows the option to 
> save the file instead of opening it in the broswer window?
> > 
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212529
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to