From: matt_neuburg@... (Matt Neuburg) Date: 2009-06-20T05:45:06+09:00 Subject: Re: create a new excel file Daniel Berger wrote: > > -----Original Message----- > > From: Matt Neuburg [mailto:matt_neuburg@tidbits.com] > > Sent: Friday, June 19, 2009 11:35 AM > > To: ruby-talk ML > > Subject: Re: create a new excel file > > > > Vetrivel Vetrivel wrote: > > > > > How to create a new excel file in ruby with examples . > > > > Depends what system you're running. There's one way on Windows and a > > different way on Mac OS X. m. > > No, actually, the spreadsheet gem is cross-platform. Ooops, sorry about that. Okay, I guess what I meant is that there's also at least one way on Mac OS X that doesn't exist on Windows. On Mac OS X you could do it with rb-appscript; that's what my book manuscript is about here: http://www.apeth.com/ruby/10examples.html The "Microsoft Excel" section on that page includes an example where we create a new Excel document, populate it with some data, and tell Excel to draw a chart. m.