Create a HTML view. I name the view with alias viewname.xls


In the header add in the required tag for a table <tr> and <td>

Then create a $$ViewTemplate for the view. In the Content Type, set it as application/msexcel

Embed the view into the viewtemplate then add in the opening and closing table tag for the view.

When you call the view (http://server/dbpath/viewname.xls) it should prompt you to save the view. The saved file can be open in Excel. The similar method can be used to export to other format like words, etc.
Show-n-Tell Thursday