http://qs321.pair.com?node_id=333258


in reply to Re: Generating an Excel Report
in thread Generating an Excel Report

The naming a file .xls trick has more uses, too.

You can mark up an HTML table and apply font and centering options, and also formulas, then save it as .xls, and Excel won't complain. See this snippet for a simple example.

Formulas look like this:

<td x:num x:fmla="=B2+1"></td>