Returns a sheet of the excel referenced by the name.
1 excel.Workbook.getSheet
<excel.Workbook.getSheet name='name'>
<wb /> +
</excel.Workbook.getSheet>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | string | Name of the wanted sheet. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ewb | Workbook | Woork from which to extract the sheet. |
Returns | |
---|---|
Type | Description |
Sheet |
Example
Get the images of an excel book.
Copy
<xsql-script> <body> <set name='wb'> <excel.Workbook /> </set> <excel.Workbook.createSheet name='sheet1'> <wb /> </excel.Workbook.createSheet> <excel.Workbook.createSheet name='sheet2'> <wb /> </excel.Workbook.createSheet> <set name ='m_selected_sheet'> <excel.Workbook.getSheet name='sheet1'> <wb /> </excel.Workbook.getSheet> </set> <println> <m_selected_sheet/> </println> </body> </xsql-script>