Returns the number of sheets of an excel book.

1 excel.Workbook.getNumberOfSheets

<excel.Workbook.getNumberOfSheets>
    <wb /> +
</excel.Workbook.getNumberOfSheets>
Example

Get the images of an excel book.

Copy
<xsql-script name='sample_excel_Workbook_getNumberOfSheets'>
	<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>
		
		<excel.Workbook.getSheet name='sheet1'>
		    <wb />
		</excel.Workbook.getSheet>
		
		<println>
		    <excel.Workbook.getNumberOfSheets>
		        <wb />
		    </excel.Workbook.getNumberOfSheets>
		</println>
	</body>
</xsql-script>