Returns the index of the sheet whose data is displayed when the book is opened.
 

1 excel.Workbook.getSelectedTab

<excel.Workbook.getSelectedTab>
    <wb /> +
</excel.Workbook.getSelectedTab>
Example
Copy
<xsql-script name='sample_excel_Workbook_getSelectedTab'>
	<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>
		
		<println>
		    Visualizing sheet as index :
		    <excel.Workbook.getSelectedTab>
		        <wb />
		    </excel.Workbook.getSelectedTab>
		</println>
	</body>
</xsql-script>