Hi Ben, If you want it to go straight to the browser you could try
<CFHEADER NAME="Content-Disposition" VALUE="inline; filename=ClassList.xls"> HTH Phil. ----- Original Message ----- From: "Ben Yee" <[EMAIL PROTECTED]> To: "CFAussie Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 12:04 PM Subject: [cfaussie] Exporting to excel > Hi All, > > Something strange has happened since a couple of our users have upgraded to Office XP > At the moment I have a CF search screen with the option of sending the results to excel. > > If the user chooses to send the result to excel the familiar "do you want to save or open" dialogue box pops up. There are no problems if the user chooses to save the excel file, however if they try to open it, it displays this error. > > 'C:\Documents and Settings\CMacalister\Local Settings\Temporary Internet Files\Content.IE5\8DARKL23\ClassList[1].xls' could not be found. Check the spelling of the file name, and verify that the file location is correct. > > If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted. > > I'm running CF5, and using the tags > <CFCONTENT TYPE="application/vnd.ms-excel"> > <!--- Suggest default filename for spreadsheet ---> > <CFHEADER NAME="content-disposition" VALUE="attachment;filename=ClassList.xls"> > > Any Ideas > > Thanks > Ben > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
