I am running several queries in my ColdFusion application the results of which I want to store in different sheets within the same Excel Spreadsheet. Can someone please tell me how I can achieve this?
for information on how to use Excel as a datasource. I think you need to have Excel loaded on your CF server to accomplish this, but I've never done it. Good luck!
The CFComet website has some good introductory stuff if you want to get good at using COM objects to build your own Excel and Word files. I did this for a project where I had to merge environmental data with a monthly report template and spit the end result out as a downloadable Word file. However, it is tedious programming.
Another solution, if you are prepared to spend some money, is to get a commercial product for preparing Excel files. SoftArtisans has one called ExcelWriter. You can download an evaluation copy from their website. (
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.