Evaluate all the formulas of a worksheet and returns another worksheet with calculated cells.

1 excel.Workbook.evaluate

<excel.Workbook.evaluate>
    <wb /> +
</excel.Workbook.evaluate>
Example
Copy
<xsql-script name='sample_excel_Workbook_evaluate'>

	<body>
		<set name='wb_eval'>
		    <excel.Workbook.evaluate>
		           <excel.Workbook>
		               <file name='c:\jas\workbook1.xls' type='absolute' />
		           </excel.Workbook>
		    </excel.Workbook.evaluate>
		</set>
		
		<excel.Workbook.write>
		    <wb_eval />
		    <file name='c:\jas\workbook1_eval.xls' type='absolute' />
		</excel.Workbook.write>
		
		
		<set name='numsheets'>
		    <sub>
		    <excel.Workbook.getNumberOfSheets>
		        <wb_eval />
		    </excel.Workbook.getNumberOfSheets>
		    1
		    </sub>
		</set>
		
		<for name='idx' start='0' end='#numsheets'>
		  <do>
		    <println>
		        <excel.Sheet.toHTML>
		            <excel.Workbook.getSheetAt index='#idx'>
		                <wb_eval />
		            </excel.Workbook.getSheetAt>
		        </excel.Sheet.toHTML>
		    </println>
		
		    <println></println>
		  </do>
		</for>
	</body>
</xsql-script>