[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Text file to Excel, automated
The PERL libraries are great -- I'm currently running an automated process that receives excel files via email/procmail then parses them together into a single spreadsheet and sends out the results. It's working very very well.
On Thu, Jul 3, 2008 at 11:02 AM, Kyle R. Burton <email@example.com
>> I'm looking for a way to put the text output of someI have used a few libraries for doing this.
>> sql queries into an excel document which I can email
>> to others in the company.
>> What I do now is run the query, import it into OO,
>> save it as an excel document and then email it.
>> I'd like to automate the whole process. I believe
>> I can create a .slk file and then excel will read
>> that. Anyone have any experience doing that or is
>> there a niftier way to do it?
Apache Jakarta's POI: http://poi.apache.org/
For Ruby there is spreadsheet-excel, which I've used in a rails app:
All these can run under Linux (or windows), and don't require any
external libraries. There is even a Java lib for MS Access
files:http://jackcess.sourceforge.net/, as well as a c-library,
mdbtools. The C library doesn't handle as many cases as the Java
library though (at least not the last time I used it).
Any of those should allow you automate your task...if you're willing,
I'm sure we can even help you work through using any of these over the
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug