Whatever message this page gives is out now! Go check it out!
spreadsheetGetActiveCell(spreadSheetObject)Name | Required | Type | Description |
spreadSheetObject | Yes | ExcelInfo | The Excel spreadsheet object from which to retrieve the hyperlinks. |
<cfquery name="art" datasource="cfartgallery">
SELECT * FROM ART
</cfquery>
<cfscript>
theFile=GetDirectoryFromPath(GetCurrentTemplatePath()) & "art.xls";
// create a spreadsheet object
theSheet=spreadsheetNew("SampleData")
// add rows from query
spreadsheetAddRows(theSheet,art)
// set active cell 1,6
spreadsheetSetActiveCell(theSheet,10,6)
spreadsheetWrite(theSheet,theFile,"yes")
infoActiveCell=spreadsheetGetActiveCell(theSheet)
writeDump(infoActiveCell)
</cfscript>