1 excel.Workbook.setSheetHidden
<excel.Workbook.setSheetHidden
index='index'
hidden='hidden'
>
<wb /> +
</excel.Workbook.setSheetHidden>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aindex | integer | Index of the sheet that you want to set the attribute. | |||
Ahidden | boolean | true | Visible/Hidden |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ewb | Workbook which you want to hide or make visible in the sheet. |
Returns | |
---|---|
Type | Description |
Workbook | The workbook. |
Example
Make the sheet1 invisible.
Copy
<xsql-script> <body> <set name='wb'> <excel.Workbook /> </set> <excel.Workbook.createSheet name='sheet1'> <wb /> </excel.Workbook.createSheet> <set name="cell_r2c5"> <excel.Sheet.createCell row="5" col="5"> <sheet_1/> </excel.Sheet.createCell> </set> <excel.Cell.setCellValue> <cell_r2c5/> <string>TEST 100</string> </excel.Cell.setCellValue> <set name='m_new'> <excel.Workbook.cloneSheet index='0'> <Workbook /> </excel.Workbook.cloneSheet> </set> <excel.Workbook.setSheetHidden index='1' visible='false'> <Workbook /> </excel.Workbook.setSheetHidden> <excel.Workbook.write> <wb/> <file name="test.xls" type="absolute"/> </excel.Workbook.write> </body> </xsql-script>