# Help on Spreadsheet::Excel

**URL:** <https://www.ruby-forum.com/t/help-on-spreadsheet-excel/183985>\
**Category:** Rails\
**Created:** [February 23, 2010, 2:37pm UTC](https://www.ruby-forum.com/t/help-on-spreadsheet-excel/183985 "2010-02-23T14:37:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![newb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/2acd7d/32.png) [@newb](https://www.ruby-forum.com/u/newb)\
**Post date:** [February 23, 2010, 2:37pm UTC](https://www.ruby-forum.com/t/help-on-spreadsheet-excel/183985/1 "2010-02-23T14:37:17Z")

</div>

Dear all,

For the export to excel functionality i have used Spreadsheet::Excel gem

it works fine. i would like to design the excel sheet with html ,css.(i  
want to give color and height and width to each cell of the excel  
sheet…)

I have goggled for this but nothing saved me…

please u people suggest me any sample code or links that i can try  
with…

Thank you for your time to view my query

---

<div class="post-metadata">

**Author:** ![newb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/2acd7d/32.png) [@newb](https://www.ruby-forum.com/u/newb)\
**Post date:** [February 24, 2010, 1:41am UTC](https://www.ruby-forum.com/t/help-on-spreadsheet-excel/183985/2 "2010-02-24T01:41:46Z")

</div>

Hey New,

Have you tried this: [http://spreadsheet.rubyforge.org/GUIDE\_txt.html](http://spreadsheet.rubyforge.org/GUIDE_txt.html)

---

<div class="post-metadata">

**Author:** ![newb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/2acd7d/32.png) [@newb](https://www.ruby-forum.com/u/newb)\
**Post date:** [February 24, 2010, 8:52am UTC](https://www.ruby-forum.com/t/help-on-spreadsheet-excel/183985/3 "2010-02-24T08:52:12Z")

</div>

Ozgun Koyun wrote:

> Hey New,
> 
> Have you tried this: [http://spreadsheet.rubyforge.org/GUIDE\_txt.html](http://spreadsheet.rubyforge.org/GUIDE_txt.html)

Thank you for the reply …the link was usefull

now

worksheet.write(2, 1, “TIME”) =\> this works

how to specify cell ranges for wrting into the row

worksheet.write(2, 1…2 ,“TIME”) this is gives me error…

how i should specify…

pls help…
