views:

264

answers:

2

I need to generate excel documents with ruby (from rails) on a Linux Machine. I know of Spreadsheet::Excel, but it doesn't support formulas, and uses a pretty old format..

Is there any other option, not necessarely free or opensource, that is a bit more powerful? thanks

+4  A: 

How about opening a spreadsheet (Spreadsheet::Excel) with the formulae already populated. Entering data into the referenced cells will cause them to display the result.

tsdbrown
that, my friend, is an awesome idea I somehow hadn't thought of! My thanks.
luca
others are still welcome to add their bits, of course!
luca
A: 

If you can use java,you can try SmartXLS for java,it support runtime Excel calculation and create/edit charts,pivot tables.

liya