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]

st: RE: Writing to large Excel files

From   "David Radwin" <>
To   <>
Subject   st: RE: Writing to large Excel files
Date   Tue, 29 Jan 2013 11:47:18 -0800 (PST)


This is not actually a solution, but as a workaround you could create a
tab- or comma-separated values text file using -outsheet-.

Also, if you are using Stata 12, you shouldn't have to adjust the memory.

David Radwin
Senior Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794

> -----Original Message-----
> From: [mailto:owner-
>] On Behalf Of David Epstein
> Sent: Tuesday, January 29, 2013 11:15 AM
> To:
> Subject: st: Writing to large Excel files
> 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.
> David
*   For searches and help try:

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