Ruby: Parse Excel 95-2003 files?
Posted
by
Larry K
on Stack Overflow
See other posts from Stack Overflow
or by Larry K
Published on 2009-10-16T18:30:24Z
Indexed on
2012/12/04
17:06 UTC
Read the original article
Hit count: 143
Is there a way to read Excel 97-2003 files from Ruby?
Background
I'm currently using the Ruby Gem parseexcel -- http://raa.ruby-lang.org/project/parseexcel/ But it is an old port of the perl module. It works fine, but the latest format it parses is Excel 95. And guess what? Excel 2007 will not produce the Excel 95 format.
John McNamara has taken over duties as the maintainer for the Perl Excel parser, see http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel-0.55/lib/Spreadsheet/ParseExcel.pm The current version will parse Excel 95-2003 files. But is there a port to Ruby?
My other thought is to build some Ruby to Perl glue code to enable use of the Perl library itself from Ruby. Eg, see http://stackoverflow.com/questions/451636/whats-the-best-way-to-export-utf8-data-into-excel/620612#620612
(I think it would be much faster to write the glue code than to port the parser.)
Thanks,
Larry
© Stack Overflow or respective owner