# Connecting to excel via Rubi DBI

**URL:** <https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207>\
**Category:** Ruby\
**Created:** [October 15, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207 "2006-10-15T17:02:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 15, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207/1 "2006-10-15T17:02:31Z")

</div>

Hi, is there a possibility to connect to excel file using dbi module?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 17, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207/2 "2006-10-17T20:20:13Z")

</div>

removed\_email\_address@domain.invalid wrote:

> Hi, is there a possibility to connect to excel file using dbi module?

Why not use the OLE automation capabilities of Excel? Unless, of course,  
the client machine doesn’t have Excel installed. In which case… never  
mind.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 17, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207/3 "2006-10-17T21:02:15Z")

</div>

it sounds like he wants to use excel as a data source… is this  
correct??

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 17, 2006, 11:40pm UTC](https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207/4 "2006-10-17T23:40:56Z")

</div>

Patrick S. ×?×ª×?:

> removed\_email\_address@domain.invalid wrote:
> 
> > Hi, is there a possibility to connect to excel file using dbi module?
> 
> Why not use the OLE automation capabilities of Excel? Unless, of course,  
> the client machine doesn’t have Excel installed. In which case… never  
> mind.
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

I need to copy an infrastructure that is used in vbscript which gets  
data from xsl via sql queries.
