hi Jansky,
the CSV format need delimiters in the output, doesn't it?
I think there is a function writecsv or something in the PhP functionlist. But that is just a generic format, and not excell own.
Sysadmin: No rudeness intended. Just pointed out where the information was to be had, and how to get there. So for the next time, you can pick it up yourself. The "Give a man bread; he'll eat for a day. Learn him how to farm and he will eat the rest of his life" kind of help.