Reading a text file then saving to excel

2011-01-26 Thread Monique Boea
Hello All. I am reading a text file and saving it in excel. I am using the following code: cfoutput cfset filePath = #ExpandPath( \)# cfheader name=Content-Disposition value=filename=agentDaily.xls cfcontent type=application/vnd.ms-excel file=#filePath#\user\dailyreports\agentDaily.txt

Re: Reading a text file then saving to excel

2011-01-26 Thread Michael Grant
Try this instead: cfheader name=Content-Disposition value=attachment; filename=agentDaily.xls On Wed, Jan 26, 2011 at 8:59 PM, Monique Boea moniqueb...@gmail.com wrote: Hello All. I am reading a text file and saving it in excel. I am using the following code: cfoutput cfset