From: David Vallner Date: 2006-02-07T11:15:03+09:00 Subject: Re: Excel spreadsheet Dňa Utorok 07 Február 2006 02:36 Paatsch, Bernd napísal: > Hello, > > Is it possible to access Excel spreadsheets through ruby? > If so is there somewhere a code example I can have a look at? > > Thanks, > Bernd If the machine in question is a Windows box with Excel already installed, your best bet is probably using Win32OLE and accessing an Excel interface via COM. Best look at Win32OLE, and Windows / Excel automation docs. http://www.rubygarden.org/ruby?ScriptingExcel looks like good introductory sample code too. If not, I can only recall a writer package that worked with the binary format, and I had mixed success getting it run on and off Cygwin. There might be something out there that will let you read the zipped XML format out there, but I can't recall anything off the top of my head, nor see something that flicks a lightbulb on in the first screen of googlage results. You might feel particularly adventurous and try compiling the POI ruby bindings, if the thought of working with with GCC compiled Java doesn't scare you. (It does indeed scare me...) That said, the topic is also fairly recurrent on the list in my opinion, so give searching the ML archives a try too. David Vallner