Depends how you want to do it. Do you want to control Excel through DDE to create the file and perform operations on it on your behalf, or do you want to create the file directly? What version of the Excel filetype do you want to use? Does it have to be a .xls file? CSV files are a LOT easier to write and Excel can read them directly.