Assuming you are outputing HTML tables for your excel file, just use this code:
<cfheader name="Content-Disposition" value="attachment; filename=somefile.xls"> <cfcontent type="application/msexcel" reset="true"> <!--- now output HTML tables ---> Or, if your code outputs the HTML document to a file, just add the file="" attribute to cfcontent Remember, in the cfheader tag, the "filename" part of the value simply tells the browser what to name the file by default, it has nothing to do with the actual filename of anything (though if you leave it out, the browser will call it "yourtemplate.cfm" instead of "somefile.xls" and that's never good) This should work for CF5 just fine. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336469 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

