# Export to Excel Spreadsheet

**URL:** <https://www.ruby-forum.com/t/export-to-excel-spreadsheet/196516>\
**Category:** Ruby\
**Created:** [November 12, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/export-to-excel-spreadsheet/196516 "2007-11-12T17:20:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CORPOSALAN\_MACIEL](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@CORPOSALAN\_MACIEL](https://www.ruby-forum.com/u/CORPOSALAN_MACIEL)\
**Post date:** [November 12, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/export-to-excel-spreadsheet/196516/1 "2007-11-12T17:20:54Z")

</div>

Hi Everyone,

I’m looking for a reporter for Ruby, I need to export some data to a  
predefined Excel spreadsheet, I am trying to use jasper but I can’t find  
a good tutorial.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![CORPOSALAN\_MACIEL](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@CORPOSALAN\_MACIEL](https://www.ruby-forum.com/u/CORPOSALAN_MACIEL)\
**Post date:** [November 12, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/export-to-excel-spreadsheet/196516/2 "2007-11-12T19:02:11Z")

</div>

CORPO. ALAN MACIEL wrote:

> I’m looking for a reporter for Ruby, I need to export some data to a  
> predefined Excel spreadsheet, I am trying to use jasper but I can’t find  
> a good tutorial.

This was found with a cursory look at an archive search:

excel = WIN32OLE.new(‘Excel.Application’)  
workbook = excel.Workbooks.Open(‘c:\temp\MyWorkbook.xls’)

> **[Automating Excel with Ruby: The Application Object](http://rubyonwindows.blogspot.com/2007/03/automating-excel-with-ruby-application.html)**
>
> Automating Microsoft Excel can involve hundreds of objects, each with its own properties and methods. Let's start by looking at the top-leve...

> **[Automating Excel with Ruby: The Workbook Object](http://rubyonwindows.blogspot.com/2007/03/automating-excel-with-ruby-workbook.html)**
>
> Previously, we looked at the Excel Application object. Today, we'll take it down a level and investigate the Workbooks collection and Workbo...

> **[Ruby on Windows](http://rubyonwindows.blogspot.com/search/label/excel)**
>
> On using the Ruby programming language on the Microsoft Windows platform

The archive is a good place to start with questions like this.
