Place a String value in the cell.
 

1 excel.Cell.setCellValueSQL

<excel.Cell.setCellValueSQL threed='true|false'>
    <sh /> +
    <rw /> +
    <cl /> +
    <value /> +
</excel.Cell.setCellValueSQL>
Example

Place in an original Excel a SQL deplacing the content of the rows.

Copy
<xsql-script name='sample_excel_Cell_setCellValueSQL'>
	<body>
		<set name='wb'>
			<excel.Workbook>
			    <file name='test_in.xls' type='absolute'/>
			</excel.Workbook>
		</set>
		
		<set name='sheet'>
			<excel.Workbook.getSheetAt index='0'>
			    <wb/>
			</excel.Workbook.getSheetAt>
		</set>
		
		<set name='row'>
			<excel.Sheet.getRow row='0'>
			    <sheet />
			</excel.Sheet.getRow>
		</set>
		
		<set name='cell'>
			<excel.Row.getCell col='0'>
			    <row />
			</excel.Row.getCell>
		</set>
		
		<excel.Cell.setCellValueSQL threed='true'>
			<sheet />
			<row />
			<cell />
			<string>
			    SELECT tabid, tabname FROM systables where tabid IN ( 120, 121, 122) order by tabid
			</string>
		</excel.Cell.setCellValueSQL>
		
		<excel.Workbook.write>
			<wb/>
			<file name="test_out.xls" type="absolute"/>
		</excel.Workbook.write>
	</body>
</xsql-script>