Tell Excel to refresh formula calculations as soon as the file is opened.

If a formula is provided by JS, then JS should not be expected to also provide the initial result of that formula in order for the spreadsheet to look correct on open. 

The attribute fullCalcOnLoad="1" tells excel that all formulas should be evaluated on open.

Solution taken from:
http://stackoverflow.com/a/18447197/1413853