On Sun, 11 May 2008 10:13:09 -0400 (EDT), Richard White <[EMAIL PROTECTED]> 
wrote:
> kind enough to  provide me with a translation of the java instructions
> into coldfusion please :)


<cfscript>
        outFile = createObject("java", 
"java.io.File").init("e:\temp\excel\test.xls"); 
        workBook=createObject("java","jxl.Workbook").createWorkbook(outFile);
        labelObj=createObject("java","jxl.write.Label");
        numberObj=createObject("java","jxl.write.Number");
        ////////////////////////////////////////////////
        sheet = workBook.createSheet("First Sheet", 0); 
        thisLabel=labelObj.init(0,0,"happy happy gizmo");
        sheet.addCell(thisLabel); 
        thisNumber=numberObj.init(0, 1, 3.1459);
        sheet.addCell(thisNumber);
        workbook.write();
        workbook.close();
</cfscript>





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305065
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to