Well, I thought it was cool, but when I got home it didn't work. I can't understand why. See
for the details / code.
It generates the excel spreadsheet alright, but it is empty. I cannot understand what I have done wrong. I am disappointed because I was feeling very happy with myself. The spreadsheet contains no visible data, yet it is still 6kb in size.