Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Writing to large Excel files

From   Jeph Herrin <>
Subject   Re: st: Writing to large Excel files
Date   Tue, 29 Jan 2013 17:02:50 -0500

Apologies, I misread this page

which seems to advertise the limits for Excel 2010, but must refer to 2003.

On 1/29/2013 3:38 PM, Friedrich Huebler wrote:
The statement about Excel is incorrect. The maximum worksheet size in
Excel 2010 is 1,048,576 rows by 16,384 columns.



On Tue, Jan 29, 2013 at 2:57 PM, Jeph Herrin <> wrote:
The problem is not Stata - you are probably exceeding the limits of Excel:
65,536 rows by 256 columns for Excel 2010.

You can get half way there if you write as a comma separated file, but then
Excel still can't open it.


On 1/29/2013 2:14 PM, David Epstein wrote:

Dear Statalisters,

I have a large dataset that I want to write to an Excel file, so I was
excited about Stata 12's new, improved import excel/export excel
features. However, the file I'm writing to is ~60Mb in size, and I
keep getting an error "file testsheet.xlsx could not be loaded". This
does not happen when I try to write to a smaller, or blank excel
sheet, I increased Stata's memory to much more than 60Mb, and I even
added the undocumented "set excelxlsxlargefile on" to my code, all to
no avail.

Anyone have any ideas on how to solve this? Any help appreciated.

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index