Returns a reference cell from the sheet, if there is no cell with that reference, it will create it and return it.

1 excel.Sheet.getCellByReference

<excel.Sheet.getCellByReference ref='ref'>
    <sh /> +
</excel.Sheet.getCellByReference>
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>
		
		<excel.Sheet.getCellByReference ref='A1'>
		    <sheet_1/>
		</excel.Sheet.getCellByReference>
		
		<excel.Workbook.write>
		    <wb/>
		    <file name="test.xls" type="absolute"/>
		</excel.Workbook.write>
	</body>
</xsql-script>