Return the cell of the row for the indicated column.
1 excel.Row.getCell
<excel.Row.getCell col='col'>
<row /> +
</excel.Row.getCell>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Acol | int | The column number that occupies the cell that you want to obtain. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Erow | Row | The row which you want to obtain the cell. |
Returns | |
---|---|
Type | Description |
Cell | Returns the cell of the row for the indicated column. |
Example
Returns the cell of the row for the indicated column.
Copy
<xsql-script name='sample_excel_row_getCell'> <body> <set name='wb'> <excel.Workbook> <file name='test_in.xls' type='absolute'/> </excel.Workbook> </set> <set name='sheet'> <excel.Workbook.getSheetAt index='0'> <wb/> </excel.Workbook.getSheetAt> </set> <set name='row'> <excel.Sheet.getRow row='0'> <sheet /> </excel.Sheet.getRow> </set> <set name='cell'> <excel.Row.getCell col='0'> <row /> </excel.Row.getCell> </set> <return><cell/></return> </body> </xsql-script>