Returns the maximum index of rows of the sheet.
 

1 excel.Sheet.getMaxRow

<excel.Sheet.getMaxRow>
    <sh /> +
</excel.Sheet.getMaxRow>
Example
Copy
<xsql-script>
	<body>
		<set name='wb'>
		  <excel.Workbook />
		</set>
		
		<set name="sheet_1">
		    <excel.Workbook.createSheet name="Sheet 1">
		        <wb/>
		    </excel.Workbook.createSheet>
		</set>
		
		<set name="cell_1">
		    <excel.Sheet.createCell row="5" col="2">
		        <sheet_1/>
		    </excel.Sheet.createCell>
		</set>
		
		<excel.Cell.setCellValue>
		    <cell_1/>
		    <excel.Sheet.getMaxRow>
		        <sheet_1/>
		    </excel.Sheet.getMaxRow>
		</excel.Cell.setCellValue>
		
		<excel.Workbook.write>
		    <wb/>
		    <file name="test.xls" type="absolute"/>
		</excel.Workbook.write>
	</body>
</xsql-script>