in reply to Re: Write to an excel file
in thread Write to an excel file

if you want your browser to just save the file, then why don't you use the binary file mime type: application/octet-stream

To save, use "Content-Disposition: attachment" with the proper MIME type. The browser will save that (unless you have a very, very broken browser). Using the CGI module, this can be archived with the -attachment argument passed to header().

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)