Get the value of the cell with the form.
1 excel.Cell.getCellEvaluatedValue
<excel.Cell.getCellEvaluatedValue>
<wb /> +
<sh /> +
<rw /> +
<cl /> +
</excel.Cell.getCellEvaluatedValue>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ewb | Workbook | Workbook from where you get the sheet which contains the cell. | |||
Esh | Sheet | Sheet where the cell is located. | |||
Erw | Row | Row where the cell is located. | |||
Ecl | Cell | Cell to evaluate. |
Returns | |
---|---|
Type | Description |
integer | Value of the cell with the form. |
Example
Copy
<xsql-script> <body> <set name='wb'> <excel.Workbook /> </set> <set name="sheet_1"> <excel.Workbook.createSheet name="Hoja 1"> <wb/> </excel.Workbook.createSheet> </set> <set name="cell_1"> <excel.Sheet.createCell row="5" col="2"> <sheet_1/> </excel.Sheet.createCell> </set> <set name="cell_2"> <excel.Sheet.createCell row="5" col="3"> <sheet_1/> </excel.Sheet.createCell> </set> <set name="r1"> <excel.Sheet.createRow row="15"> <sheet_1/> </excel.Sheet.createRow> </set> <excel.Cell.setCellForm> <cell_1/> <string>5*10</string> </excel.Cell.setCellForm> <excel.Cell.setCellValue> <cell_2/> <excel.Cell.getCellEvaluatedValue> <wb/> <sheet_1/> <r1/> <cell_1/> </excel.Cell.getCellEvaluatedValue> </excel.Cell.setCellValue> <excel.Workbook.write> <wb/> <file name="test.xls" type="absolute"/> </excel.Workbook.write> </body> </xsql-script>