Costa,
I agree with Aderogba that there are many ways to do this. You could take his example and add a few extra functions to add the text that you want. You can then import this text file into excel to save it as a worksheet.
If you do not want to do the import part, then you will need to use ActiveX and place the data into an Excel worksheet manually. There are many shipping examples that demonstrate how to add data to an Excel spreadsheet.
I have attached an example that is very similar to the original one, but adds a few more items to get the data you needed and the format you want. You will then need to save this string to a file and then import it into Excel.
Randy Hoskin
Applications Engineer
National Instruments
http://www.n
i.com/ask