>- see footer for list info -<
I have always found this to be a real good addition.

http://jakarta.apache.org/poi/index.html




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Swingewood
Sent: 27 January 2005 12:24
To: [email protected]
Subject: [CF-Dev] Output to excel

>- see footer for list info -<
I need to output some data to an excel spreadsheet. I want the user to be 
able to see the sheet on the screen and either print it or save it as an 
excel file.

I have this (from livedocs)

<!--- use cfsetting to block output of HTML outside of cfoutput tags --->
<cfsetting enablecfoutputonly="Yes">
<cfcontent type="application/msexcel">
<cfheader name="Content-Disposition" value="filename=Test.xls"> --->
<cfoutput><table></cfoutput>
<!--- HEADER --->
<cfoutput>
<tr>
<td>Cell A1</td><td>Cell A2</td>
</tr>

<tr>
<td>Cell b1</td>
<td>Cell b2</td>
<td>cell b3</td>
<td>cell b4</td>
</tr>
</cfoutput>
<cfoutput></table></cfoutput>


This only shows the data on the screen in HTML. How do I make this appear as

an excel spread sheet? (the CFsetting as yes or no doesn't seem to make any 
difference)

Regards - Paul


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to