# MaxSizeError on spreadsheet-excel olewriter

**URL:** <https://rubytalk.org/t/maxsizeerror-on-spreadsheet-excel-olewriter/41298>\
**Category:** ruby-talk\
**Created:** [10 October 2007 18:16 UTC](https://rubytalk.org/t/maxsizeerror-on-spreadsheet-excel-olewriter/41298 "2007-10-10T18:16:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Fitzpatrick](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@Dan\_Fitzpatrick](https://rubytalk.org/u/Dan_Fitzpatrick)\
**Post date:** [10 October 2007 18:16 UTC](https://rubytalk.org/t/maxsizeerror-on-spreadsheet-excel-olewriter/41298/1 "2007-10-10T18:16:12Z")

</div>

I am making an excel file with spreadsheet-excel 0.3.5.1. Getting a MaxSizeError in set\_size (olewriter.rb line 65) when generating a large file. Does anyone know what causes this? The docs refer to a former bug in the max size of the data in a cell. But I don't think that is the case in this situation. Any help is appreciated.

Thanks,

Dan

---

<div class="post-metadata">

**Author:** ![Daniel\_Berger2](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/daniel_berger2/32/2243_2.png) [@Daniel\_Berger2](https://rubytalk.org/u/Daniel_Berger2)\
**Post date:** [11 October 2007 11:50 UTC](https://rubytalk.org/t/maxsizeerror-on-spreadsheet-excel-olewriter/41298/2 "2007-10-11T11:50:36Z")

</div>

You can't create a spreadsheet larger than 7mb currently (iirc),  
unless Hannes has changed something since I last worked on it.

Regards,

Dan

> **···**
>
> On Oct 10, 12:16 pm, Dan Fitzpatrick \<d...@eparklabs.com\> wrote:
> 
> > I am making an excel file with spreadsheet-excel 0.3.5.1. Getting a  
> > MaxSizeError in set\_size (olewriter.rb line 65) when generating a large  
> > file. Does anyone know what causes this? The docs refer to a former bug  
> > in the max size of the data in a cell. But I don't think that is the  
> > case in this situation. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![Dan\_Fitzpatrick](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@Dan\_Fitzpatrick](https://rubytalk.org/u/Dan_Fitzpatrick)\
**Post date:** [12 October 2007 01:59 UTC](https://rubytalk.org/t/maxsizeerror-on-spreadsheet-excel-olewriter/41298/3 "2007-10-12T01:59:56Z")

</div>

Daniel Berger wrote:

> **···**
>
> > On Oct 10, 12:16 pm, Dan Fitzpatrick \<d...@eparklabs.com\> wrote:  
> > &nbsp;&nbsp;
> > 
> > > I am making an excel file with spreadsheet-excel 0.3.5.1. Getting a  
> > > MaxSizeError in set\_size (olewriter.rb line 65) when generating a large  
> > > file. Does anyone know what causes this? The docs refer to a former bug  
> > > in the max size of the data in a cell. But I don't think that is the  
> > > case in this situation. Any help is appreciated.  
> > > &nbsp;&nbsp;&nbsp;&nbsp;  
> > > You can't create a spreadsheet larger than 7mb currently (iirc),  
> > > unless Hannes has changed something since I last worked on it.
> > 
> > Regards,
> > 
> > Dan
> 
> Hi Daniel,
> 
> Thanks for the info.
> 
> Dan
> 
> Dan Fitzpatrick  
> ePark Labs - [www.eparklabs.com](http://www.eparklabs.com)  
> dan@eparklabs.com +1 800 331-3133 x411
