# Import from excel, data store in database

**URL:** <https://www.ruby-forum.com/t/import-from-excel-data-store-in-database/168570>\
**Category:** Rails\
**Created:** [May 22, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/import-from-excel-data-store-in-database/168570 "2009-05-22T15:31:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ad7895/32.png) [@nishi](https://www.ruby-forum.com/u/nishi)\
**Post date:** [May 22, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/import-from-excel-data-store-in-database/168570/1 "2009-05-22T15:31:31Z")

</div>

Hi,  
Im tryng to import data from excel sheet and storing data into  
database.

But geeting problem.  
I hv followed this link : [http://spreadsheet.rubyforge.org/](http://spreadsheet.rubyforge.org/)

Error occurs

" OLE2 signature is invalid"

If any one having solution then plz let me know.

---

<div class="post-metadata">

**Author:** ![nishi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ad7895/32.png) [@nishi](https://www.ruby-forum.com/u/nishi)\
**Post date:** [May 22, 2009, 8:02pm UTC](https://www.ruby-forum.com/t/import-from-excel-data-store-in-database/168570/2 "2009-05-22T20:02:29Z")

</div>

This is just a shot in the dark. Are you trying to import from Excel  
2007 (.xlsx)? I’ve had problems with other applications reading that  
format. I resolved it by saving the file as Excel 2003 (.xls) and it  
worked.
